Skip to content

Commit

Permalink
- driver_sd update, now supports more SDHC cards;
Browse files Browse the repository at this point in the history
- ps2 fix; now the mouse is enabled after reset;
- upgraded the qsys system to Altera Quartus 14.0;
  • Loading branch information
alfikpl committed Aug 19, 2014
1 parent 581a0fa commit df6eba1
Show file tree
Hide file tree
Showing 223 changed files with 17,356 additions and 6,865 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/ao486_tool/build/
/ao486_tool/dist/
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Together with the 486 core, the ao486 project also contains a SoC capable of
booting the Linux kernel version 3.13 and Microsoft Windows 95.

### Current status
- 31 March 2014 - initial version 1.0.
- 31 March 2014 - initial version 1.0.
- 19 August 2014 - driver_sd update, ps2 fix.

### Features

Expand Down
9 changes: 3 additions & 6 deletions rtl/ao486/ao486.v
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ module ao486 (
input clk,
input rst_n,

input rst_internal_n,

//--------------------------------------------------------------------------
input interrupt_do,
input [7:0] interrupt_vector,
Expand Down Expand Up @@ -154,7 +152,7 @@ wire exc_pf_check;

exception exception_inst(
.clk (clk),
.rst_n (rst_internal_n),
.rst_n (rst_n),

//exception indicators
.dec_gp_fault (dec_gp_fault), //input
Expand Down Expand Up @@ -342,7 +340,7 @@ wire [31:0] glob_desc_2_limit;

global_regs global_regs_inst(
.clk (clk),
.rst_n (rst_internal_n),
.rst_n (rst_n),

//input
.glob_param_1_set (glob_param_1_set), //input
Expand Down Expand Up @@ -450,7 +448,6 @@ wire wr_reset;
memory memory_inst(
.clk (clk),
.rst_n (rst_n),
.rst_internal_n (rst_internal_n),

//REQ:
.read_do (read_do), //input
Expand Down Expand Up @@ -564,7 +561,7 @@ memory memory_inst(

pipeline pipeline_inst(
.clk (clk),
.rst_n (rst_internal_n),
.rst_n (rst_n),

//to memory
.pr_reset (pr_reset), //output
Expand Down
38 changes: 13 additions & 25 deletions rtl/ao486/ao486_hw.tcl
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# TCL File Generated by Component Editor 13.1
# Sun Mar 30 12:22:06 CEST 2014
# TCL File Generated by Component Editor 14.0
# Mon Aug 18 22:50:23 CEST 2014
# DO NOT MODIFY


#
# ao486 "ao486" v1.0
# 2014.03.30.12:22:06
# 2014.08.18.22:50:23
#
#

#
# request TCL package from ACDS 13.1
# request TCL package from ACDS 14.0
#
package require -exact qsys 13.1
package require -exact qsys 14.0


#
Expand All @@ -28,9 +28,9 @@ set_module_property AUTHOR ""
set_module_property DISPLAY_NAME ao486
set_module_property INSTANTIATE_IN_SYSTEM_MODULE true
set_module_property EDITABLE true
set_module_property ANALYZE_HDL AUTO
set_module_property REPORT_TO_TALKBACK false
set_module_property ALLOW_GREYBOX_GENERATION false
set_module_property REPORT_HIERARCHY false


#
Expand All @@ -39,6 +39,7 @@ set_module_property ALLOW_GREYBOX_GENERATION false
add_fileset QUARTUS_SYNTH QUARTUS_SYNTH "" ""
set_fileset_property QUARTUS_SYNTH TOP_LEVEL ao486
set_fileset_property QUARTUS_SYNTH ENABLE_RELATIVE_INCLUDE_PATHS false
set_fileset_property QUARTUS_SYNTH ENABLE_FILE_OVERWRITE_MODE false
add_fileset_file ao486.v VERILOG PATH ao486.v TOP_LEVEL_FILE
add_fileset_file avalon_io.v VERILOG PATH avalon_io.v
add_fileset_file defines.v VERILOG PATH defines.v
Expand Down Expand Up @@ -158,6 +159,7 @@ set_interface_property avalon_memory doStreamWrites false
set_interface_property avalon_memory holdTime 0
set_interface_property avalon_memory linewrapBursts false
set_interface_property avalon_memory maximumPendingReadTransactions 0
set_interface_property avalon_memory maximumPendingWriteTransactions 0
set_interface_property avalon_memory readLatency 0
set_interface_property avalon_memory readWaitTime 1
set_interface_property avalon_memory setupTime 0
Expand Down Expand Up @@ -185,16 +187,16 @@ add_interface_port avalon_memory avm_readdata readdata Input 32
#
add_interface interrupt conduit end
set_interface_property interrupt associatedClock clock
set_interface_property interrupt associatedReset reset_sink
set_interface_property interrupt associatedReset ""
set_interface_property interrupt ENABLED true
set_interface_property interrupt EXPORT_OF ""
set_interface_property interrupt PORT_NAME_MAP ""
set_interface_property interrupt CMSIS_SVD_VARIABLES ""
set_interface_property interrupt SVD_ADDRESS_GROUP ""

add_interface_port interrupt interrupt_do export Input 1
add_interface_port interrupt interrupt_vector export Input 8
add_interface_port interrupt interrupt_done export Output 1
add_interface_port interrupt interrupt_do interrupt_do Input 1
add_interface_port interrupt interrupt_vector interrupt_vector Input 8
add_interface_port interrupt interrupt_done interrupt_done Output 1


#
Expand All @@ -212,6 +214,7 @@ set_interface_property avalon_io doStreamWrites false
set_interface_property avalon_io holdTime 0
set_interface_property avalon_io linewrapBursts false
set_interface_property avalon_io maximumPendingReadTransactions 0
set_interface_property avalon_io maximumPendingWriteTransactions 0
set_interface_property avalon_io readLatency 0
set_interface_property avalon_io readWaitTime 1
set_interface_property avalon_io setupTime 0
Expand All @@ -232,18 +235,3 @@ add_interface_port avalon_io avalon_io_write write Output 1
add_interface_port avalon_io avalon_io_writedata writedata Output 32
add_interface_port avalon_io avalon_io_waitrequest waitrequest Input 1


#
# connection point reset_only_ao486
#
add_interface reset_only_ao486 reset end
set_interface_property reset_only_ao486 associatedClock clock
set_interface_property reset_only_ao486 synchronousEdges DEASSERT
set_interface_property reset_only_ao486 ENABLED true
set_interface_property reset_only_ao486 EXPORT_OF ""
set_interface_property reset_only_ao486 PORT_NAME_MAP ""
set_interface_property reset_only_ao486 CMSIS_SVD_VARIABLES ""
set_interface_property reset_only_ao486 SVD_ADDRESS_GROUP ""

add_interface_port reset_only_ao486 rst_internal_n reset_n Input 1

Loading

0 comments on commit df6eba1

Please sign in to comment.