summaryrefslogtreecommitdiffstats
path: root/hdl/pic_top.vhd
diff options
context:
space:
mode:
Diffstat (limited to 'hdl/pic_top.vhd')
-rw-r--r--hdl/pic_top.vhd7
1 files changed, 5 insertions, 2 deletions
diff --git a/hdl/pic_top.vhd b/hdl/pic_top.vhd
index f0cb4bd..f5bd386 100644
--- a/hdl/pic_top.vhd
+++ b/hdl/pic_top.vhd
@@ -14,7 +14,8 @@ entity pic_top is
uart_rx : in std_logic; -- B3
uart_tx : out std_logic; -- C3
activity_led : out std_logic; -- E8 — driven by port_b(0)
- led : out std_logic -- L6 — driven by port_a(0), blink from C
+ led : out std_logic; -- L6 — driven by port_a(0), blink from C
+ ow_pin : inout std_logic -- 1-Wire bus (4.7 kohm pull-up externally)
);
end entity pic_top;
@@ -56,6 +57,7 @@ begin
rom : entity work.prog_rom
port map (
+ clk => clk,
addr => pc,
data => opcode
);
@@ -75,7 +77,8 @@ begin
port_a => port_a,
port_b => port_b,
uart_tx => uart_tx,
- uart_rx => uart_rx
+ uart_rx => uart_rx,
+ ow_pin => ow_pin
);
end architecture rtl;