Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI'm more of a VHDL guy but it would be something like this.
always @(posedge clk) begin case (ascii_value) h'30: binary_value = h'0; h'31: binary_value = h'1; ... ... ... endcase endI'm more of a VHDL guy but it would be something like this.
always @(posedge clk) begin case (ascii_value) h'30: binary_value = h'0; h'31: binary_value = h'1; ... ... ... endcase end