I'm working on a verilog project(Not C I know, But I think this transfers over. Haven't found a good verilog board yet)
So i'm working through some demo code/ best practices to try to do a little learning and I havnt seen this before:
specifically the numbers. I think 1'b1 is binary 1. is the number before the ' the base and the number after the number? still seems odd to do things in base 36 and 4.Code:assign HEX7 = 7'h7f; assign GPIO_1 = 36'hzzzzzzzzz; A <= 4'b0000; A <= A + 1'b1;
any help is greatly appreciated! thanks!



LinkBack URL
About LinkBacks



