The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> Can VerilogA input Hexadecimal number?
https://designers-guide.org/forum/YaBB.pl?num=1175112270

Message started by seefree on Mar 28th, 2007, 1:04pm

Title: Can VerilogA input Hexadecimal number?
Post by seefree on Mar 28th, 2007, 1:04pm

for example, define a parameter as hex format, user input "F", the output is "15".

Thanks,

Title: Re: Can VerilogA input Hexadecimal number?
Post by ACWWong on Mar 29th, 2007, 2:32am

no, i don't think verilogA can do this (although you can output in hex format using $strobe etc.). Try looking at the verilogA reference manual in your installation path.

on the other hand verilogAMS should (?) be able to handle integer types which are hex....

cheers,
aw

Title: Re: Can VerilogA input Hexadecimal number?
Post by seefree on Mar 29th, 2007, 5:49am

Thanks! You confirmed my doubt.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.