Altera_Forum
Honored Contributor
8 years agoHex Values on LCD Display
Hey, I want to display hex values of sha512 on lcd display on De2-115. I took up an example code from stx cookbook, I've attached the sample code, and towards the end you can see the last part of the main module
wire [63:0] ta,tb,tc,td,te,tf,tg,th; assign {th,tg,tf,te,td,tc,tb,ta} = ab_reg; always @(posedge clk) begin # 10 if (round >= 1) begin $display ("t=%d : %x - %x - %x - %x", round - 1, ta,tb,tc,td); $display ("t=%d : %x - %x - %x - %x", round - 1, te,tf,tg,th); end end How do i display these on a lcd display where the screen refreshes it self towards the slot, since there is a 16x2 lcd. I was looking in John Loomis tutorial lcdlab ones inparticular, I dont really seem to grasp the idea, Can anyone help me figure out. John loomis lcdlabs page: http://www.johnloomis.org/digitallab/ Thank you