13.07.2015 Views

ModuleWare Reference Guide - Hornad

ModuleWare Reference Guide - Hornad

ModuleWare Reference Guide - Hornad

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Memory PartsDual Port RAM (ram2p)Functionram_table is a table of internal locations. The number of locations are given by the parameterram_size:ram_table(addr0) = din0 if iena0 = 1. and addr0 < ram_sizeram_table(addr1) = din1 if iena1 = 1. and addr1 < ram_sizedout0= ram_table(addr0)= ZZ...if oena0 = 1 and addr0 < ram_sizeotherwisedout1= ram_table(addr1)= ZZ...addr0_error = 0= 1addr1_error = 0= 1Parametersif oena1 = 1 and addr1 < ram_sizeotherwiseif addr0 < ram_sizeotherwiseif addr1 < ram_sizeotherwiseTable 9-1. Dual Port RAM ParametersParameter Values Defaultdin0, din1, dout0, dout1addr0addr1addr0_typeaddr1_typeram_sizePort widths (must be > 0)Port width (must be > 0)Port width (must be > 0)Enabled,DisabledEnabled,DisabledNumber of memory locations in the RAM tableAutomaticAutomaticAutomaticEnabledEnabled8Design Rule Checks• An error is issued if the width of any port cannot be determined or if ports iena0, iena1,oena0, oena1, addr0_error and addr1_error do not have a fixed width of 1.• A warning is issued and HDL generation fails for this part if any of ports din0, din1, iena0,oena0, dout0, addr1, iena1, oena1 or dout1 are not connected.<strong>ModuleWare</strong> <strong>Reference</strong> Manual, Library Version 1.9 207September 18, 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!