mirror of
https://github.com/MiSTer-devel/MacPlus_MiSTer.git
synced 2024-05-28 22:41:28 +00:00
put rtc back in
This commit is contained in:
parent
5f84578a72
commit
5676ebe168
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user