Tagged Questions
1
vote
1answer
44 views
In verilog, what effect does the not (!) operator have on high impedance and don't care conditions?
I'm writing some verilog and simulating it using modelsim. I have a block that looks like this:
...
-5
votes
1answer
33 views
3-phase lock loop in verilog
I want to implement a phase lock loop in verilog hdl. The input is the source voltage (which is a sine wave) and the output is theta(in terms of sin and cos).
0
votes
1answer
106 views
Square law device using FPGA
I am trying to implement Square Law Device on Virtex 5 Family FPGA but before burning it to the FPGA I was trying to simulate it in the Xilinx ISE kit. I am not sure whether the code is correct or not ...
-4
votes
0answers
69 views
Ideas for a project combining arduino and FPGA [closed]
I would like some suggestions for my project. I need to implement ARDUINO and FPGA, nothing too complex nothing too easy. Just something Simple! where I can show that I have knowledge of these ...
4
votes
1answer
95 views
Difference between @* and @(*) in verilog
What is the difference between always @* and always @(*) in verilog?
0
votes
1answer
108 views
Problem initializing Xilinx BRAM
A while ago I added a feature to GNU binutils to convert files to verilog mem files, suitable for reading with $readmemh. The output is very close to what you might get with xilinx's data2mem ...
2
votes
3answers
137 views
Open Source verilog synthesizer
I'm looking for an open source verilog synthesizer. I am using Icarus Verilog as a verilog simulator. Originally I was going to use it for both simulation and synthesis, but found out the tool no ...
1
vote
2answers
217 views
How to Add the Xilinx Library to Modelsim
I'm trying to simulate an example design of an IP Core, but the version of ModelSim I have installed (Altera Edition/Linux) does not link to the Xilinx library. How can I permanently or temporarily ...
0
votes
1answer
73 views
How can I detect a pulse from a device with the AC'97 component of a Xilinx Atlys board?
I have a digital device which transmits rapid pulses over a 3.5mm audio cable, indicating that some event has occurred. I want to connect that device to my 3.5mm line in jack on my Atlys board and ...
2
votes
2answers
273 views
MUX verilog code
Can anyone explain the difference between the two codes below. Both written in Verilog, Xilinx. If someone can explain how the second one works would much appreciate it.
...
1
vote
2answers
216 views
Feedback loop in Verilog
I have a problem with writing Verilog HDL code. I want to design a simple PID controller in FPGA I am using Cyclone II family. I want to feedback my output value as an input in a previous stage of ...
1
vote
1answer
367 views
Fixed Point Division in verilog for Spartan 6
I am developing a core on Spartan 6 which needs to do divisions like
1/6,2/4 etc... so the values are always between 0 and 1. As I dont need the precision of floating point I am want to use a fixed ...
2
votes
2answers
129 views
How to generate wait until division is over in verilog?
I am using a division module which has two signals other than inputs
"go" to indicate start of division.
"done" to indicate stop of division.
It is taking approx 300 clock cycles for the division to ...
2
votes
1answer
101 views
Design doesnot work properly when clock net delay is slightly higher in spartan3a fpga
I am running my design on spartan3a 3s700afg484 at 50 mhz.
There is no set up and hold time violations.
There is only one global clock net.
My clock report for two runs are
RUN 1:
Info: [707]: | ...
3
votes
1answer
170 views
What are the XGMII control pins?
The 10 Gigabit Media Independent Interface (XGMII) is an interface standard that uses 72 data pins for both RX and TX. As far as I understand, of those 72 pins, only 64 are actually data, the ...
2
votes
1answer
346 views
TCP/IP stack in Verilog
I am about to write a TCP/IP stack in Verilog. I would have thought this was a relatively common thing, and that implementations would readily be available online.
The obvious Google search for a ...
2
votes
1answer
257 views
DVI-D Single Link to FPGA
I'm using LatticeXP2 family FPGA. DVI-D Single link operating at 720p is connected to FPGA. I somehow need to read RGB and XY coordinates of pixels. I know I need TMDS decoder, but I'm not sure how to ...
0
votes
0answers
96 views
NetFPGA testbench
I'm aware of the normal way to build a new project for verilog and I'm aware that normally the projects are initiated with a script, however; can I ask if their are any standalone testbenchs that I ...
4
votes
3answers
219 views
LUT vs. hard IP based multipliers on Spartan-3 FPGA for constant coefficient multiplication
Before I get to my question, here are the specs for the board and synthesis tool I am using:
Family: Spartan3
Device: XC3S200
Speed: -5
Synthesis Tool: XST
My 4-bit multiplier is in my design's ...
1
vote
1answer
113 views
Can I create a verilog file to both simulate and synthesize?
Recently I was reading a Verilog study book. I finally realized that a Verilog file may not be synthesizable, because some Verilog statements are for simulation use only. But I'm too lazy to make one ...
0
votes
3answers
267 views
Designing FPGA code in block diagrams
I've briefly flirted with FPGA development in Verilog, and its admittedly somewhat slower than writing the same program on an MCU (defining pins, and their behaviour, no modules available, etc). I've ...
4
votes
0answers
93 views
Minimal redistributable coregen output for command-line rebuilds
I'm building an SoC with my own soft-core, and I want people to be able to easily rebuild it using Xilinx webpack command-line tools. I'm using coregen's Clock Wizard to create a clock module, but ...
0
votes
1answer
123 views
String manipulation in synthesisable Verilog
I am interested in implementing an ASCII-based communication protocol in Verilog for an FPGA. The communication protocol is FIX, and would require various string manipulations.
What tools/libraries ...
2
votes
1answer
160 views
My design is not meeting timing. What can I do?
I am using the Altera Quartus II software to compile Verilog for a Cyclone IV FPGA. In my case, the FPGA is fixed; I cannot get a faster one.
Now one isolated module in my design, which deals with ...
4
votes
3answers
1k views
What is clock skew, and why can it be negative?
My HDL compiler (Quartus II) generates timing reports. In it, the nodes have "clock skew" column. The only definition of clock skew I found is in the TimeQuest documentation (see page 7-24):
To ...
4
votes
4answers
916 views
Using both edges of a clock
I am programming an Altera Cyclone IV using Verilog and Quartus II. In my design, I would like to use both edges of a clock so that I can do clock division by an odd factor with a 50% duty cycle. Here ...
2
votes
2answers
190 views
Merge a differential pair into one signal
I have an LVDS ADC connecting to an Altera Cyclone IV FPGA. The data pins come in 7 differential pair channels, for a total of 14 pins.
Although each differential pair is physically 2 pins, my ...
3
votes
2answers
1k views
Verilog UART Transmitter Sends Bytes Out of Order
I have the following Verilog code which sends 8 bytes to the serial port successively after a button is pressed.
The problem is, the bytes are sent out of order as to what I would expect.
For ...
3
votes
1answer
206 views
Cyclone II FPGA Starter Kit Configuration Seems to be Giving Bogus Results
I've been trying to get my Cyclone II FPGA (from the Starter Kit, EP2C20) to work. I've gotten the Quartus II software to work on my Ubuntu setup and it' ALMOST working - I can write some Verilog, ...
-2
votes
2answers
458 views
FPGA or Microprocessor for Computer Vision based Robot for Indoor Navigation [closed]
I'm building an Indoor navigation robot which can be used in offices and factories especially in closed spaces with good lighting. I've already found out the algorithm i need to use for Indoor ...