mateushh
Newbie level 4
The Verilog code looks like that:
// Create an "enable" signal for our LED logic that selects the
//address within the GBA cartridge address space for our LED
//register. Here we have chosen 0xffe200. Take this value, multiply
//by 2 and add 0x8000000 to get the actual address used by the
//GBA software (0x9ffc400).
assign LEDEn = Addr[23:8]==16'hffe2;
The comments above explain what it is.
When I used the X-HDL translator, the output code looked like that:
LEDEn <= to_bit(Addr(23 DOWNTO 8) = "1111111111100010") ;
And the Xilinx ISE displayed an error:
ERROR:HDLParsers:3312 - c:/xilinx/moje_projekty/redgreenvhdl/../../../!!proba/proba3/RedGreen1.vhd Line 117. Undefined symbol 'to_bit'.
Have you got any ideas??
// Create an "enable" signal for our LED logic that selects the
//address within the GBA cartridge address space for our LED
//register. Here we have chosen 0xffe200. Take this value, multiply
//by 2 and add 0x8000000 to get the actual address used by the
//GBA software (0x9ffc400).
assign LEDEn = Addr[23:8]==16'hffe2;
The comments above explain what it is.
When I used the X-HDL translator, the output code looked like that:
LEDEn <= to_bit(Addr(23 DOWNTO 8) = "1111111111100010") ;
And the Xilinx ISE displayed an error:
ERROR:HDLParsers:3312 - c:/xilinx/moje_projekty/redgreenvhdl/../../../!!proba/proba3/RedGreen1.vhd Line 117. Undefined symbol 'to_bit'.
Have you got any ideas??