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.

ConstantsConstant Value (constval)Constant Value (constval)This part is a constant value driver. The parameter value must be entered in LNBFformat which supports decimal, binary, hexadecimal, and octal radix.The valid LNBF format is: the radix notation letter (h for hexadecimal, b forbinary, o for octal, d for decimal) followed by # followed by a number in thespecified radix. If you omit the radix notation letter, the radix will de defaulted to decimal. Forexample: h#fc (hexadecimal); o#12 (octal); b#10011001 (binary); d#10 or 10 (decimal).If the convert_value parameter is enabled, the dout port is assigned the binary value for VHDLor retains the entered value for Verilog.If the convert_value parameter is disabled, the entered value is assigned to the dout port forboth VHDL and Verilog without any modifications.This part is equivalent to n 1-bit Vdd or Ground, where n is the port width.Functiondout = valueParametersTable 3-1. Constant Value ParametersParameter Values Defaultdout Port width (must be > 0) Automaticconvert_valuevalueEnabled, DisabledThe parameter value (must be > 0)Enabled0Design Rule Checks• An error is issued if any of the width of the dout port cannot be determined, the valueparameter has no value or if the width of the parameter value (after representing it in binary)is greater than the dout port width.• A warning is issued and HDL generation fails for this part if the dout port is not connected.60<strong>ModuleWare</strong> <strong>Reference</strong> Manual, Library Version 1.9September 18, 2008

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

Saved successfully!

Ooh no, something went wrong!