put rtc back in

This commit is contained in:
Alan Steremberg 2021-03-15 07:43:32 -07:00
parent 5f84578a72
commit 5676ebe168
3 changed files with 2 additions and 11 deletions

View File

@ -1,5 +1,3 @@
derive_pll_clocks
derive_clock_uncertainty
set_multicycle_path -from {emu|m68k|*} -setup 2
set_multicycle_path -from {emu|m68k|*} -hold 1

View File

@ -314,13 +314,6 @@ wire [21:1] dio_a =
// keys and switches are dummies as the mist doesn't have any ...
wire [9:0] sw = 10'd0;
wire [3:0] key = 4'd0;
//assign SDRAM_CLK = clk64;
// the configuration string is returned to the io controller to allow
// it to control the menu on the OSD

View File

@ -60,7 +60,7 @@ reg [8:0] yoe; // year of era
reg [10:0] doy; // day of year
reg [20:0] doe; // day of era
reg [23:0] days;
/*
always @(*) begin
// Days from epoch (01/01/1904)
// y -= m <= 2;
@ -74,7 +74,7 @@ always @(*) begin
doe = yoe * 9'd365 + yoe/4 - yoe/100 + doy;
days = 5 * 146097 + doe - 719468 + 24107;
end
*/
always @(posedge clk) begin
if (reset) begin
bit_cnt <= 0;