URL
https://opencores.org/ocsvn/potato/potato/trunk
Subversion Repositories potato
Compare Revisions
- This comparison shows the changes necessary to convert path
/potato/trunk/example
- from Rev 12 to Rev 21
- ↔ Reverse comparison
Rev 12 → Rev 21
/toplevel.vhd
108,7 → 108,7
MODULE_UART, -- UART module |
MODULE_TIMER, -- Timer module |
MODULE_DUMMY, -- Dummy module, used for invalid addresses |
MODULE_NONE -- Boring no-module mode, uses the dummy module |
MODULE_NONE -- Boring no-module mode |
); |
signal active_module : module_name; |
|
209,7 → 209,8
uart1: entity work.pp_soc_uart |
generic map( |
FIFO_DEPTH => 64, |
SAMPLE_CLK_DIVISOR => 27 |
--SAMPLE_CLK_DIVISOR => 27 -- For 50 MHz |
SAMPLE_CLK_DIVISOR => 33 -- For 60 MHz |
) port map( |
clk => system_clk, |
reset => reset, |
320,7 → 321,6
active_module <= MODULE_TIMER; |
ad_state <= BUSY; |
else |
--active_module <= MODULE_NONE; |
active_module <= MODULE_DUMMY; |
ad_state <= BUSY; |
end if; |
/README
17,7 → 17,7
* Frequency Synthesis |
* Safe Clock Startup |
|
Set up two output clocks, `clk_out1` with frequency 50 MHz, and `clk_out2` with |
Set up two output clocks, `clk_out1` with frequency 60 MHz, and `clk_out2` with |
a frequency of 10 MHz. Rename the corresponding ports to `system_clk` and |
`timer_clk` respectively. Name the input clock `clk`. |
|