- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 youLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi vrndandu ,
Go through the datasheet of the LCD(CFAH1602BTMCJP) so that you can understand. And you can generate Hex values for the character. http://www.terasic.com.tw/cgi-bin/page/archive.pl?language=english&categoryno=163&no=502&partno=4 Best Regards, Anand Raj Shankar (This message was posted on behalf of Intel Corporation)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello vrndandu,
$display commands are ment for simulator such as Modelsim. These commands are not compiled to .sof or .pof that you download to the DE2-115 fpga. If you want to control the LCD display on the fpga, you need other verilog code. You could try with the 7seg leds to begin, they are easier to start with. Best Regards, Johi.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you,
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page