In this post, we will see how to resolve VHDL Error “Expecting constant slice on LHS” Question: I wrote a code. This should insert a “1” at a position, which is determined by the binary part of a signal E_reg_sig. ...
In this post, we will see how to resolve VHDL Code MAC Unit – How to avoid overflow by summing up two signed signals without adding additional bits Question: I want to do an code, which accumulates an input signal. ...
Question: I’m developing a project in VHDL with a ZedBoard Zynq Evaluation Board. I wrote the following process, but I’ve notice that “stalloLoad” become ‘1’ not when rd_sig = “00110”, but at the next clock edge. Can someone explain me? ...
Question: I’m trying to convert some code from Verilog to VHDL for project need. The original code is in Verilog, the aim of the code is to realizing MIG DDR2/3 write and read, partly shown as following: and here is ...
Question: I’m trying to do a circuit consisting of a 2 to 1 multiplexer (8-bit buses), an 8-bit register and an 8-bit adder. These components are all tested and work as expected. The thing is: if I try to send ...
Question: When i use the for loop inside state2, my code will run correctly and my result is good. For example when i want to find the square root of 255, i will have 15. But when I dont want ...
Question: I solved this problem using Verilog in this websitehttps://hdlbits.01xz.net/wiki/Vector3. So I tried to convert it to vhdl. Here is the code I wrote. But Modelsim doesn’t compile successfully, how can I modify it? How to use vhdl’s concatenation operator ...
Question: I programmed an 8-bit shifter in vhdl: The idea is that I’m taking input and giving it to my first D-FF. Then over the next 7 cycles, the other Flip Flops get the other serial inputs which will be ...
Question: I have a FSM consisting of 3 states: STATIC, UP and DOWN. The FSM starts in the STATIC state and if I press the up arrow key, it will move to the UP state, thereafter returning to the STATIC ...
Question: I’m new to fpga and VHDL in general (I’m using a fpga aprox. 2 weeks now). I am trying to create a project that lights up LEDs in order. First of all I made a falling edge detector for ...