Skip to content

Commit

Permalink
minor changes; change clk freq to 50MHz for de0-cv
Browse files Browse the repository at this point in the history
  • Loading branch information
saursin committed Dec 26, 2023
1 parent 2a8b434 commit 05e244a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sw/lib/include/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@
#define TIMER_ADDR 0x40004000

// ------ CLOCK FREQUENCY --------
#define CLK_FREQ 12000000
// Spartan6-mini
// #define CLK_FREQ 12000000

// DE0-CV
#define CLK_FREQ 50000000

#else
#ifdef TARGET_ATOMBONES
Expand Down
1 change: 1 addition & 0 deletions sw/lib/include/serial.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once
#include <stdbool.h>
#include <stdint.h>

// Baud Rates
#ifdef SIM
Expand Down

0 comments on commit 05e244a

Please sign in to comment.