Gast
#43269
Hallo erstmal also mein Problem ist das das D-FlipFlop nicht geht entity DFF is port( T, D: in bit; Q: buffer bit); end DFF; architecture A1_DFF of DFF is begin P1: process( T ) begin if( T'event and T = '1' ) then Q <= D; end if; end process; end A1_DFF; und nun der Fehler 00001: -- now read object Entity dff sitting in file c:\dff.vhd 00002: -- now read object Architecture_Body dff sitting in file c:\dff.vhd 00003: -- now read object Entity dff sitting in file c:\dff.vhd 00004: -- now read object Architecture_Body dff sitting in file c:\dff.vhd 00005: ENTITY dff IS -- c:\dff.vhd 00006: PORT ( 00007: t: IN BIT ; 00008: d: IN BIT ; 00009: q: BUFFER BIT *+* Error before "BUFFER": E998: parse error 00010: ); 00011: END ENTITY dff; 00012: ARCHITECTURE a1_dff OF dff IS -- c:\dff.vhd 00013: BEGIN 00014: p1: PROCESS (t) IS 00015: BEGIN 00016: IF ( t'event and ( t = '1' ) ) THEN 00017: q <= 00018: d; 00019: END IF; 00020: END PROCESS p1; 00021: END ARCHITECTURE a1_dff; doch bei Lattice Synplify sagt aber alles i.o. was mache ich falsch oder hab ich was nicht richtig verstanden? Tschö René