- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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コピーされたリンク
3 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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)- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.![](/skins/images/DCC883141309A464C31AD18F1D8B9C6A/responsive_peak/images/icon_anonymous_message.png)