From b30b2170cbab4db96e4f919f58a5bb38402ccb53 Mon Sep 17 00:00:00 2001 From: tracer-ysyx Date: Tue, 9 Jan 2024 20:42:08 +0800 Subject: [PATCH] =?UTF-8?q?>=20build=5Fnpc=5FVKeyboard=5Fnvboard=20=20ysyx?= =?UTF-8?q?=5F22040000=20=E6=9D=8E=E5=BF=83=E6=9D=A8=20=20Linux=20calcite?= =?UTF-8?q?=206.1.69=20#1-NixOS=20SMP=20PREEMPT=5FDYNAMIC=20Wed=20Dec=2020?= =?UTF-8?q?=2016:00:29=20UTC=202023=20x86=5F64=20GNU/Linux=20=20=2020:42:0?= =?UTF-8?q?8=20=20up=201=20day=2019:42,=20=202=20users,=20=20load=20averag?= =?UTF-8?q?e:=201.42,=201.30,=201.00?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npc/constr/Keyboard.nxdc | 6 +++--- npc/csrc_nvboard/main.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/npc/constr/Keyboard.nxdc b/npc/constr/Keyboard.nxdc index 1493c31..261b52a 100644 --- a/npc/constr/Keyboard.nxdc +++ b/npc/constr/Keyboard.nxdc @@ -2,6 +2,6 @@ top=Keyboard io_ps2_clk PS2_CLK io_ps2_data PS2_DAT -io_seg_0 (SEG1A, SEG1B, SEG1C, SEG1D, SEG1E, SEG1F, SEG1G, DEC1P, SEG0A, SEG0B, SEG0C, SEG0D, SEG0E, SEG0F, SEG0G, DEC0P) -io_seg_1 (SEG3A, SEG3B, SEG3C, SEG3D, SEG3E, SEG3F, SEG3G, DEC3P, SEG2A, SEG2B, SEG2C, SEG2D, SEG2E, SEG2F, SEG2G, DEC2P) -io_seg_2 (SEG5A, SEG5B, SEG5C, SEG5D, SEG5E, SEG5F, SEG5G, DEC5P, SEG4A, SEG4B, SEG4C, SEG4D, SEG4E, SEG4F, SEG4G, DEC4P) +io_segs_0 (SEG1A, SEG1B, SEG1C, SEG1D, SEG1E, SEG1F, SEG1G, DEC1P, SEG0A, SEG0B, SEG0C, SEG0D, SEG0E, SEG0F, SEG0G, DEC0P) +io_segs_1 (SEG3A, SEG3B, SEG3C, SEG3D, SEG3E, SEG3F, SEG3G, DEC3P, SEG2A, SEG2B, SEG2C, SEG2D, SEG2E, SEG2F, SEG2G, DEC2P) +io_segs_2 (SEG5A, SEG5B, SEG5C, SEG5D, SEG5E, SEG5F, SEG5G, DEC5P, SEG4A, SEG4B, SEG4C, SEG4D, SEG4E, SEG4F, SEG4G, DEC4P) diff --git a/npc/csrc_nvboard/main.cpp b/npc/csrc_nvboard/main.cpp index 401de4b..c1adb52 100644 --- a/npc/csrc_nvboard/main.cpp +++ b/npc/csrc_nvboard/main.cpp @@ -4,14 +4,14 @@ #include #include #include -#include +#include const int MAX_SIM_TIME=100; -void nvboard_bind_all_pins(VSwitch* top); +void nvboard_bind_all_pins(VKeyboard* top); int main(int argc, char **argv, char **env) { - VSwitch *top = new VSwitch; + VKeyboard *top = new VKeyboard; nvboard_bind_all_pins(top); nvboard_init();