Hi all,
I am using Synplify Pro for synthesis. My target FPGA is APEX20KE. I have the following code for rom but the attribute rom_style is not working instead it gave me the following warnings.
1) CL159 Input addrs_in is unused 2) Signal sincos_rom is undrivenentity Lookup is port( Addrs_In : in signed(ROM_DEPTH-3 downto 0); -- 10 bit Data_Out : out signed(ROM_WIDTH-1 downto 0) -- 16 bit ); end entity Lookup;
architecture Lookup_Synth_Arch of Lookup is -- Declaration for Rom type type Sincos_Rom_Type is array (0 to 2**(ROM_DEPTH-2) -1) of WORD; signal Sincos_Rom: SinCos_Rom_Type;
-- Attributes to map Rom to availbale techology library attribute syn_romstyle : string; attribute syn_romstyle of Sincos_Rom : signal is "block_rom";
begin
Data_Out