Octal and Binary Prefix in [Syntax] section of .syn files
Posted: Tue Dec 26, 2006 12:50 am
I think it is a good idea to have Octal Prefix and Binary Prefix line in [Syntax] section of Syntax Definition Files (.syn files) like HexPrefix which we have it now.
One of the examples are Verilog and VHDL (Hardware Design & Simulation Language). We have:
8'b10101010 means 8 bits binary 10101010 (equal to 170)
8'o252 means 8 bits binary 252 (equal to 170)
8'haa means 8 bits hex aa (equal to 170)
with the features of 4.7.3 we only can see "8'haa" as a number and "8'b10101010" is not colored as numbers!!!
One of the examples are Verilog and VHDL (Hardware Design & Simulation Language). We have:
8'b10101010 means 8 bits binary 10101010 (equal to 170)
8'o252 means 8 bits binary 252 (equal to 170)
8'haa means 8 bits hex aa (equal to 170)
with the features of 4.7.3 we only can see "8'haa" as a number and "8'b10101010" is not colored as numbers!!!