Help: ICE_JVCC_LANGUAGE
The JavaVerilog language follows Java 1.6 constructs with the following extensions:
The JavaVerilog language follows Java 1.6 constructs with the following extensions:
Integer data types can specify the number of bits, ex. int6 for a 6 bit integer.
The Verilog syntax for selecting bit ranges of an integer is also adopted.
For example: myint[5:3] refers to bits 3 through 5 of the integer myint,
and myint[5] refers to bit 5 of the integer cast as a boolean.
All right shifts ">>" are converted to arithmetic shifts ">>>" in verilog.
Special functions:
print() - converts to printf in Java & C, $write in Verilog
vprint() - conditional with /corevbp=1 verbose flag
dprint() - conditional with /corevbp=2 debug flag
pack(a,b,c) - packs bits into an int, performs the verilog XXX = {a,b,c}.
unpack(a,b,c) - unpacks bits from an int, performs the verilog {a,b,c} = XXX.
Fixed floating point types fptx and dptx are introduced to support FPGA platforms
that do not efficiently support IEEE floating point arithmetic.