B
Bob
Guest
I need help in creating constants to be used with schematic capture.
In previous versions of Xilinx ISE I used to create schematic symbols
for constants (i.e. 0xA5) by creating a schmetic with 8 buffers. The
inputs were connected to gnd or vcc to create the constant. The
outputs of the buffer were connected to a bus CONST(7:0).
Then I could use this constant anywhere in my schematic by inserting
this part.
I tried this on the latest ISE 6.1 and got the following error when I
compiled.
ERROR:Xst:1539 - C:/Projects/DemoTop.vhf line 122: Formal port in
component <const8_80> must be an identifier.
Here is the DemoTop.vhf output:
XLXI_30 : const8_80
port map (Const(7 downto 0)=>XLXN_12(7 downto 0));
Why doesn't this work anymore? Is there a better way to create a
constant. I know that Altera has a constant macro. Is there any easy
way in Xilinx.
Thanks,
Bob
P.S. Please post the answer in the newsgroup rather than emailing it.
In previous versions of Xilinx ISE I used to create schematic symbols
for constants (i.e. 0xA5) by creating a schmetic with 8 buffers. The
inputs were connected to gnd or vcc to create the constant. The
outputs of the buffer were connected to a bus CONST(7:0).
Then I could use this constant anywhere in my schematic by inserting
this part.
I tried this on the latest ISE 6.1 and got the following error when I
compiled.
ERROR:Xst:1539 - C:/Projects/DemoTop.vhf line 122: Formal port in
component <const8_80> must be an identifier.
Here is the DemoTop.vhf output:
XLXI_30 : const8_80
port map (Const(7 downto 0)=>XLXN_12(7 downto 0));
Why doesn't this work anymore? Is there a better way to create a
constant. I know that Altera has a constant macro. Is there any easy
way in Xilinx.
Thanks,
Bob
P.S. Please post the answer in the newsgroup rather than emailing it.