English 中文(简体)
谁能让我知道以下问题:
原标题:Can anybody let me know what is the problem with the following vhdl code?
  • 时间:2011-05-18 11:33:20
  •  标签:
  • vhdl

我错误地认为“ERROR:Xst:827 - “C:/1553/decoder_copy/decoder.vhd” 第265条:信号词不能合成,错误的同步描述”。

     process(rst_n,dword_int,sync_csw_reg,sync_dw_reg)
     begin
if(rst_n= 1 )then
    noofwords<="00000";
    no_words<="00000";
    nfw<= 1 ;
elsif(falling_edge(sync_csw_reg) and dword_int(10)= 0  and nfw= 1  )then
    noofwords<=dword_int(0 to 4);
    check_nfw<=dword_int(0 to 4);
elsif(falling_edge(sync_dw_reg))then
    if(no_words = noofwords)then
        no_words<="00000";
        nfw<= 1 ;
    else
        no_words<= no_words+ 1 ;
        nfw<= 0 ;
    end if;
end if;

结束进程;

问题回答

我猜测,因为你正在一个过程中核对两个不同的信号(sync_dw_reg)。 如果你想综合该守则,你就无法做到这一点。 你们必须将其分成两个进程。





相关问题
Starting work on a Pre-existing Project

So this is more of a generic question. I seem to keep finding myself being put on larger and larger projects. Recently I have been assigned to a very large project written in C and VHDL. The goal ...

Load half word and load byte in a single cycle datapath

There was this problem that has been asked about implementing a load byte into a single cycle datapath without having to change the data memory, and the solution was something below. alt text http://...

Why IEEE vhdl standard library is not STL?

IEEE vhdl language reference manual only defined a limited set of standard packages.And it do not defined the functionalities on the standard types,such as STD_LOGIC.So there are no standard AND2, INV ...

VHDL - When does a process() run for the first time?

Consider : process(a) According to the text i have : A process is first entered at the time of simulation, at which time it is executed until it suspends itself due to a wait statement or a ...

How to generate serial signal from string?

How do I send data represented by a binary string (e.g. "01011101000100111", length is variable) to an std_logic signal given either fixed delay or clock signal? I want this for a testbench so I d ...

Overflow bit 32Bit ALU VHDL

I m currently writing a 32Bit ALU (Add/Sub) in VHDL. I ve got a problem with the overflow bit. I can t see when to set the overflow depending on the operation (addition, subtraction) and the input ...

热门标签