Skip to content

Commit

Permalink
Merge pull request #54 from leonow32/vim828
Browse files Browse the repository at this point in the history
Vim828
  • Loading branch information
leonow32 authored Nov 17, 2023
2 parents 5333afe + 6d3f333 commit 2108f10
Show file tree
Hide file tree
Showing 9 changed files with 368 additions and 422 deletions.
2 changes: 1 addition & 1 deletion decoder_14seg/decoder_14seg.v
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module Decoder14seg(
end else if(Enable_i) begin
case(Data_i)
// NMLKJIHGFEDCBA
8'd0: Segments_o <= 14'b00000000000000;
8'h00: Segments_o <= 14'b00000000000000;
" ": Segments_o <= 14'b00000000000000;
"\"": Segments_o <= 14'b00000000100010;
"'": Segments_o <= 14'b00000100000000;
Expand Down
Binary file added display_lcd_vim828/pinout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion display_lcd_vim828/vim828.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@echo off
iverilog -o vim828.o ^
vim828_defines.vh ^
vim828_defines.v ^
vim828.v ^
vim828_tb.v ^
vim828_pwm.v ^
Expand Down
706 changes: 354 additions & 352 deletions display_lcd_vim828/vim828.v

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions display_lcd_vim828/vim828_defines.v
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,14 @@
`define BIT_N 13
`define BIT_P 14

`define COM_H_ACTIVE 2'd3
`define COM_H_PASSIVE 2'd1
`define SEG_H_ACTIVE 2'd0
`define SEG_H_PASSIVE 2'd2

`define COM_L_ACTIVE 2'd0
`define COM_L_PASSSIVE 2'd2
`define SEG_L_ACTIVE 2'd3
`define SEG_L_PASSIVE 2'd1

`endif // VIM828_DEFINES_VH
65 changes: 0 additions & 65 deletions display_lcd_vim828/vim828_defines.vh

This file was deleted.

1 change: 0 additions & 1 deletion display_lcd_vim828/vim828_tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

`timescale 1ns/1ns
`default_nettype none
`include "vim828_defines.vh"

module VIM828_tb();

Expand Down
2 changes: 1 addition & 1 deletion terminal_vim828/terminal_vim828.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ iverilog -o terminal_vim828.o ^
terminal_vim828.v ^
terminal_vim828_tb.v ^
../decoder_14seg/decoder_14seg.v ^
../display_lcd_vim828/vim828_defines.vh ^
../display_lcd_vim828/vim828_defines.v ^
../display_lcd_vim828/vim828.v ^
../display_lcd_vim828/vim828_pwm.v ^
../edge_detector/edge_detector.v ^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[dumpfile] "terminal_vim828.vcd"
[dumpfile_mtime] "Fri Nov 10 14:16:48 2023"
[dumpfile_size] 3723523
[savefile] "termina_vim828.gtkw"
[savefile] "terminal_vim828.gtkw"
[timestart] 0
[size] 1920 1009
[pos] -1 -1
Expand Down

0 comments on commit 2108f10

Please sign in to comment.