1 2 3 4 5 6 7 8 9 10 11 12
/* * assign a value to a constant, expecting to fail */ module const_assignment_error; const N : integer = 20; begin N = 22; // this must fail end