Subject: synthesis attribute question
From: Muzaffer Kal (kal@dspia.com)
Date: Sat Jul 06 2002 - 13:39:02 PDT
hi,
I think at least some of these should work but I am sure; given example 23
on page 13 of the 1364.1 draft, are these valid per 1364-2001 + 1364.1-2002:
1)
reg [8*13:1] conststring;
initial conststring = "ROM_CELLXYZ01";
...
(* synthesis, rom_block = conststring *)
...
2)
parameter [7:0] n = "1";
reg [8*12:1] conststring;
initial
begin
conststring = "ROM_CELLXYZ0";
end
...
(* synthesis, rom_block = {conststring, n} *)
...
3)
genvar i;
reg [8*12:1] conststring;
initial
begin
conststring = "ROM_CELLXYZ0";
end
...
generate
for (i=0; i<8; i = i+1)
begin:multiple_rom_blocks
...
(* synthesis, rom_block = {conststring, i+8'h40} *)
...
end
endgenerate
...
thanks,
Muzaffer Kal
DSPIA Inc. 408.654.9573
http://www.dspia.com
ASIC/FPGA design/verification consulting specializing in DSP algorithm
implementations
This archive was generated by hypermail 2b28 : Sat Jul 06 2002 - 13:45:15 PDT