Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Thanks for such a quick reply, I got it I have to write more codes. I just performed a simple simulation and through the simulation it's clear that for verilog code above , carry and phase_acc is refreshed right when the phase_acc changed, but for my VHDL code the data refreshed one clock later...
Hi, I am considering how to translate a verilog expression to VHDL as :
{carry, phase_acc} <= (carry ? init_phase : 0) + phase_acc + phase_step;
I write some vhdl code like this :
----------
phase_step : in std_logic_vector(11 downto 0);
-------something something-------
signal pha_acc ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.