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.
Hi,
Remove the "end if" below the line "pr_data <= (others => '0'); as shown below:
READ_REGISTER_PROCESS : process(clk)
begin
if (clk'event and clk = '1') then
if reset = '1' then
prdata <= (others => '0');
else
case paddr(8 downto 2) is
when...
Hi,
When compiling your code with Modelsim I get 2 errors about signal sel. Remember Verilog is case sensitive! After changing this I do not get any compile error in the part you posted above.
Devas
Hi,
The use-statement given does not point necessary to a package declaration. It points only to a library hwicap_v5_00_a which maybe has only entity/architecture declarations in it.
A use statement pointing to a package declaration has the form:
use <library>.<package>.<suffix>
Your use...
Hi Beowulf,
Your schematic looks fine to me. I do not know the output file of promgen. I have never used it.
I am not aware of a Xilinx document with such a schematic. Even it makes sense for every designer.
Devas
Hi,
always(*) is Verilog-2001 syntax. It simplifies the sensitivity list. * means be sensitive changes on any values which are read in the following group.
Devas
Hi,
You can mix VHDL and Verilog if your simulator and synthesizer supports both languages (is sometimes an add-on feature).
In your Verilog code instantiate your VHDL ip-core just like if it was a Verilog module.
Devas
Hi,
Line 52: contains a generate statement. A generate statement must have a static (fixed) condition. You use a signal "stepsize" in this condition. A signal is not a static. Change the signal in a constant (static) and this error will be fixed.
The same applies for the other generate...
Hi,
CoreGenerator is part of the Xilinx ISE software. You can download it from the Xilinx website. The webpack version is free and includes also CoreGenerator.
Devas
Hi,
I have done a quick simulation with your uart code and in my simulator n_reg will be '0' after reset.
From your simulation picture I can not see how long the reset pulse is and how it behaves compared to the clock. Maybe you can post your testbench code also so I can use it with my...
Re: Quartus Ver 4.2 & Nios 3.2 shell - Compiling error !
Hi,
You use a very old Quartus version. I do not believe that version is supported on Windows Vista.
Devas
Hi Haneet,
Something like:
library ieee;
use ieee.std_logic_textio.all;
library std;
use std.textio.all;
architecture xxxx of yyyy is
file fin : text open read_mode is "<path to your hex file>";
process(zzzz)
variable rdline : line
variable hex : std_logic_vector(3 downto 0);
begin
while not...
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.