Subject: section 5.6 ROM // Question
From: VhdlCohen@aol.com
Date: Fri Apr 05 2002 - 14:42:49 PST
We stated "The rom_block attribute shall be used to identify the variable
that models the ROM."
However, the attribute is not REALLY needed, and synthesis tools may pick a
ROM/or logic without the the attribute.
Attribute helps in guiding the tool. Thus, I have an issue with the
"attribute SHALL be used"
How about changing this to:
"The rom_block attribute may be used to identify the variable that models the
ROM."
from
<5.6 Modeling Read-Only Memories (ROM)
An asynchronous ROM shall be modeled as combinational logic using one of the
following styles:
a) One-dimensional array with data in case statement (see 5.6.1).
b) Two-dimensional array with data in initial statement (see 5.6.2).
c) Two-dimensional array with data in text .le (see 5.6.3).
The rom_block attribute shall be used to identify the variable that models
the ROM. If the logic_block
attribute is used, then it shall imply that no ROM is to be inferred.>
----------------------------------------------------------------------------
Ben Cohen Publisher, Trainer, Consultant (310) 721-4830
<A HREF="http://www.vhdlcohen.com/">http://www.vhdlcohen.com/> vhdlcohen@aol.com
Author of following textbooks:
* Real Chip Design and Verification Using Verilog and VHDL, 2002 isbn
0-9705394-2-8
* Component Design by Example ", 2001 isbn 0-9705394-0-1
* VHDL Coding Styles and Methodologies, 2nd Edition, 1999 isbn 0-7923-8474-1
* VHDL Answers to Frequently Asked Questions, 2nd Edition, isbn 0-7923-8115
------------------------------------------------------------------------------
This archive was generated by hypermail 2b28 : Fri Apr 05 2002 - 14:48:25 PST