Difference between revisions of "IOP16 Constants Unit"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
Line 38: | Line 38: | ||
<pre> | <pre> | ||
+ | -- Constants Unit | ||
+ | CONST_UNIT : entity work.ConstantsUnit | ||
+ | port map ( | ||
+ | i_clock => i_clk, | ||
+ | i_dataIn => w_periphOut, | ||
+ | i_ldStr => w_ldConAdr, | ||
+ | i_rdStr => w_rdConAdr, | ||
+ | o_constData => w_ConstsData | ||
+ | ); | ||
</pre> | </pre> | ||
Revision as of 22:02, 14 April 2022
Contents
Constants ROM with Address Counter
- Constants ROM
- 256-byte (max)
- Null terminated strings
- ROM "assembler"
- Address Counter
- Loadable with start address
- Auto-increment address
Programming
- Load start address (W)
- Read Data
Hook-up
- Add to Top Level VHDL code
Pins
- None - all internal
Signals
-- Decodes/Strobes ... signal w_ldConAdr : std_logic; signal w_rdConAdr : std_logic; ... -- Interfaces ... signal w_ConstsData : std_logic_vector(7 downto 0);
VHDL Instance
-- Constants Unit CONST_UNIT : entity work.ConstantsUnit port map ( i_clock => i_clk, i_dataIn => w_periphOut, i_ldStr => w_ldConAdr, i_rdStr => w_rdConAdr, o_constData => w_ConstsData );
Hook-up Strobes/Read Mux
- Add to strobes and read mux