Questions tagged [digital-design]
79 questions
-1
votes
2 answers
Verilog Subtraction and addition
I am attempting to program an addition and subtraction program in Verilog. Problem is Implementation and testing in Verilog of a module that performs Addition or Subtraction, then a Mux chooses between letting go through the result of one or the…

Python World
- 21
- 2
- 6
-2
votes
1 answer
FIFO Depth Calculation
I have 2 blocks, out of which block_A is writing and block_B is reading.
Writing configurations : 3 writes per 5 clocks,
Reading configurations : 30 reads per 50 clocks
What is the required FIFO depth in order to avoid FIFO underflow/overflow?
It is…

purval vikani
- 1
- 1
-3
votes
1 answer
Checking a circuit for errors
This might be a very simple but a bit longer question and I would appreciate all the help!
Here's what we have: an FPGA card (Spartan-3e to be precise) - 8 switches, 8 LEDs, and a very simple Verilog code:
module Lab1_1(
input [7:0] sw,
…

Varad
- 1
- 3