integer constants:
123
1'b1
8'h81
'o7773
12'bx
16'd5
3'b1xz
32'h8f_32_ab_f7

isti broj na vise nacina:
15
'h f
'o 17
'd 15
'b 1111
'b 1_1_1_1

primer sa x i z:
8'b0 is equal to 8'b00000000
8'b1 is equal to 8'b00000001
8'bz is equal to 8'bzzzzzzzz
8'bx is equal to 8'bxxxxxxxx

tips:
Decimal numbers without specified size and base format are treated as signed integers.
Decimal numbers with the base format specified are treated as unsigned integers.

REALNE KONSTANTE:

1.2
0.1
123.456
1.2E12
13.0e-2
23e10
123.111_222_333E-22

STRINGOVNE KONSTANTE:
"Hello World"   is represented as   88'h48656c6c6f_20_576f726c64

MAKROI:

`define mymacro this is some text
...
$display("`mymacro");
...

SISTEMSKI TASKOVI:

$display - Used to print output on the standard output device and the simulation log file.

$monitor - Used to trace all value changes of the arguments.

$readmem - Read in initial values to a memory.

$stop - Temporarily suspends simulation to enter the user interface to the simulation.

$finish - Terminate simulation.


SISTEMSKE FUNKCIJE:


The most commonly used system functions are:
$time - Return the current simulation time (64 bits).

$stime - Return the current simulation time as a 32-bit number.

$random - Return a 32-bit random nnumber.

$bitstoreal - Return the real value of the argument.

$realtobits - Return the unsigned integer value of the real argument.
