A
AdamS
Guest
How to use "Configuration" to select an architecture? I read
"McGraw.Hill.VHDL.Programming.by.Example.4th.Ed" but it seems not
work...
here is my code structure:
the device which should be selected:
entity PS2_CTRL
architecture A
architecture B
the entity which selects Arch.A or Arch.B
entity PS2SIMPL
architecture SCHEMATIC
component declare
component port map
end architecture
configuration sel of PS2SIMPL is
for SCHEMATIC
for PS2_CTRL_i : PS2_CTRL use entity work.ps2_ctrl(a);
end for;
end for;
end sel;
but ISE still use architecture B
can anyone tell me what's wrong? thx
"McGraw.Hill.VHDL.Programming.by.Example.4th.Ed" but it seems not
work...
here is my code structure:
the device which should be selected:
entity PS2_CTRL
architecture A
architecture B
the entity which selects Arch.A or Arch.B
entity PS2SIMPL
architecture SCHEMATIC
component declare
component port map
end architecture
configuration sel of PS2SIMPL is
for SCHEMATIC
for PS2_CTRL_i : PS2_CTRL use entity work.ps2_ctrl(a);
end for;
end for;
end sel;
but ISE still use architecture B
can anyone tell me what's wrong? thx