URL
https://opencores.org/ocsvn/zet86/zet86/trunk
Subversion Repositories zet86
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 40 to Rev 41
- ↔ Reverse comparison
Rev 40 → Rev 41
/trunk/rtl-model/defines.v
23,4 → 23,4
`define ADD_IP `IR_SIZE'bx__0__1__0__1__10_001_001__0__01__0__0_1111_xxxx_xxxx_1111_xx |
`define OP_NOP 8'h90 |
|
//`define DEBUG 1 |
//`define DEBUG 1 |
/trunk/rtl-model/util/div_uu.v
34,10 → 34,10
|
// CVS Log |
// |
// $Id: div_uu.v,v 1.4 2009-01-11 03:22:12 zeus Exp $ |
// $Id: div_uu.v,v 1.5 2009-01-13 08:20:37 zeus Exp $ |
// |
// $Date: 2009-01-11 03:22:12 $ |
// $Revision: 1.4 $ |
// $Date: 2009-01-13 08:20:37 $ |
// $Revision: 1.5 $ |
// $Author: zeus $ |
// $Locker: $ |
// $State: Exp $ |
/trunk/rtl-model/util/div_su.v
35,10 → 35,10
|
// CVS Log |
// |
// $Id: div_su.v,v 1.4 2009-01-11 03:22:12 zeus Exp $ |
// $Id: div_su.v,v 1.5 2009-01-13 08:20:37 zeus Exp $ |
// |
// $Date: 2009-01-11 03:22:12 $ |
// $Revision: 1.4 $ |
// $Date: 2009-01-13 08:20:37 $ |
// $Revision: 1.5 $ |
// $Author: zeus $ |
// $Locker: $ |
// $State: Exp $ |
/trunk/impl/virtex4-ml403ep/syn/kotku.v
266,7 → 266,8
assign pc = (cs << 4) + ip; |
`endif |
|
assign io_dat_i = flash_io_arena ? flash_dat_o : 16'h0; |
assign io_dat_i = flash_io_arena ? flash_dat_o |
: (vdu_io_arena ? vdu_dat_o : 16'h0); |
assign dat_i = tga ? io_dat_i |
: (vdu_mem_arena ? vdu_dat_o |
: (flash_mem_arena ? flash_dat_o : zbt_dat_o)); |
276,7 → 277,8
assign flash_arena = (!tga & flash_mem_arena) |
| (tga & flash_io_arena); |
assign vdu_mem_arena = (adr[19:12]==8'hb8); |
assign vdu_io_arena = (adr[15:8]==8'hb8); |
assign vdu_io_arena = (adr[15:8]==8'hb8 && we) || |
(adr[15:1]==15'h01ed && !we); |
assign vdu_arena = (!tga & vdu_mem_arena) |
| (tga & vdu_io_arena); |
assign flash_stb = flash_arena & stb & cyc; |
/trunk/impl/virtex4-ml403ep/syn/kotku-dbg.prj
0,0 → 1,22
verilog work "../../../../rtl-model/util/div_uu.v" |
verilog work "../../../../rtl-model/util/primitives.v" |
verilog work "../../../../rtl-model/util/div_su.v" |
verilog work "../../../../rtl-model/rotate.v" |
verilog work "mult.v" |
verilog work "icon.v" |
verilog work "ila.v" |
verilog work "../../../../rtl-model/regfile.v" |
verilog work "../../../../rtl-model/jmp_cond.v" |
verilog work "../../../../rtl-model/alu.v" |
verilog work "../../../../soc/vga/rtl/ram2k_b16_attr.v" |
verilog work "../../../../soc/vga/rtl/ram2k_b16.v" |
verilog work "../../../../soc/vga/rtl/char_rom_b16.v" |
verilog work "../../../../rtl-model/fetch.v" |
verilog work "../../../../rtl-model/exec.v" |
verilog work "../../../../soc/vga/rtl/vdu.v" |
verilog work "../../../../rtl-model/cpu.v" |
verilog work "../../mem/zbt_cntrl.v" |
verilog work "../../mem/flash_cntrl.v" |
verilog work "../clock.v" |
verilog work "../kotku.v" |
verilog work "../../lcd/lcd_display.v" |
/trunk/impl/virtex4-ml403ep/syn/kotku-dbg.xst
0,0 → 1,57
run |
-ifn ../kotku-dbg.prj |
-ifmt mixed |
-ofn kotku_ml403 |
-ofmt NGC |
-p xc4vfx12-10-ff668 |
-top kotku_ml403 |
-opt_mode Speed |
-opt_level 1 |
-power NO |
-iuc NO |
-keep_hierarchy NO |
-netlist_hierarchy as_optimized |
-rtlview Yes |
-glob_opt AllClockNets |
-read_cores YES |
-write_timing_constraints NO |
-cross_clock_analysis NO |
-hierarchy_separator / |
-bus_delimiter <> |
-case maintain |
-slice_utilization_ratio 100 |
-bram_utilization_ratio 100 |
-dsp_utilization_ratio 100 |
-verilog2001 YES |
-fsm_extract YES -fsm_encoding Auto |
-safe_implementation No |
-fsm_style lut |
-ram_extract Yes |
-ram_style Auto |
-rom_extract Yes |
-mux_style Auto |
-decoder_extract YES |
-priority_extract YES |
-shreg_extract YES |
-shift_extract YES |
-xor_collapse YES |
-rom_style Auto |
-auto_bram_packing NO |
-mux_extract YES |
-resource_sharing YES |
-async_to_sync NO |
-use_dsp48 auto |
-iobuf YES |
-max_fanout 500 |
-bufg 32 |
-bufr 16 |
-register_duplication YES |
-register_balancing No |
-slice_packing YES |
-optimize_primitives NO |
-use_clock_enable Auto |
-use_sync_set Auto |
-use_sync_reset Auto |
-iob auto |
-equivalent_register_removal YES |
-slice_utilization_ratio_maxmargin 5 |
/trunk/impl/virtex4-ml403ep/syn/ml403.ucf
121,4 → 121,4
#NET leds_[5] LOC = F9; # W LED |
#NET leds_[6] LOC = A5; # S LED |
#NET leds_[7] LOC = E10; # E LED |
#NET leds_[8] LOC = E2; # N LED |
#NET leds_[8] LOC = E2; # N LED |
/trunk/impl/virtex4-ml403ep/syn/Makefile
3,6 → 3,17
run: tmp/kotku_ml403.bit |
(cd tmp/ && ../../../../bin/ml403 kotku_ml403.bit) |
|
debug: tmp/mult.v tmp/icon.v tmp/ila.v kotku-dbg.prj kotku-dbg.xst |
(cd tmp/ && xst -ifn ../kotku-dbg.xst) |
|
tmp/icon.v: icon.xco |
mkdir -p tmp |
(cd tmp/ && coregen -b ../icon.xco) |
|
tmp/ila.v: ila.xco |
mkdir -p tmp |
(cd tmp/ && coregen -b ../ila.xco) |
|
Zet.ace: tmp/kotku_ml403.bit |
(cd tmp/ && ../../ace/ml40x_bit2ace kotku_ml403.bit ../Zet.ace ../../ace/) |
|
/trunk/soc/bios/biossums.c
1,5 → 1,5
/* |
* $Id: biossums.c,v 1.4 2009-01-11 03:22:12 zeus Exp $ |
* $Id: biossums.c,v 1.5 2009-01-13 08:20:37 zeus Exp $ |
* |
* This library is free software; you can redistribute it and/or |
* modify it under the terms of the GNU Lesser General Public |
/trunk/soc/bios/makesym.perl
1,6 → 1,6
#!/usr/bin/perl |
# |
# $Id: makesym.perl,v 1.4 2009-01-11 03:22:12 zeus Exp $ |
# $Id: makesym.perl,v 1.5 2009-01-13 08:20:37 zeus Exp $ |
# |
# Read output file from as86 (e.g. rombios.txt) and write out a symbol |
# table suitable for the Bochs debugger. |
/trunk/soc/bios/rombios.c
847,7 → 847,7
} |
} |
|
static char bios_svn_version_string[] = "$Revision: 1.6 $ $Date: 2009-01-11 03:22:12 $"; |
static char bios_svn_version_string[] = "$Revision: 1.7 $ $Date: 2009-01-13 08:20:37 $"; |
|
//-------------------------------------------------------------------------- |
// print_bios_banner |
/trunk/soc/bios/vgabios.c
151,6 → 151,11
ASM_START |
vgabios_int10_handler: |
pushf |
cmp ah, #0x0f |
jne int10_test_1A |
call biosfn_get_video_mode |
jmp int10_end |
int10_test_1A: |
int10_test_1103: |
cmp ax, #0x1103 |
jne int10_normal |
229,7 → 234,7
|
#if defined(USE_BX_INFO) || defined(DEBUG) |
msg_vga_init: |
.ascii "VGABios $Id: vgabios.c,v 1.4 2009-01-11 03:22:12 zeus Exp $" |
.ascii "VGABios $Id: vgabios.c,v 1.5 2009-01-13 08:20:37 zeus Exp $" |
.byte 0x0d,0x0a,0x00 |
#endif |
ASM_END |
405,6 → 410,12
case 0x03: |
biosfn_get_cursor_pos(GET_BH(),&CX,&DX); |
break; |
case 0x06: |
biosfn_scroll(GET_AL(),GET_BH(),GET_CH(),GET_CL(),GET_DH(),GET_DL(),0xFF,SCROLL_UP); |
break; |
case 0x07: |
biosfn_scroll(GET_AL(),GET_BH(),GET_CH(),GET_CL(),GET_DH(),GET_DL(),0xFF,SCROLL_DOWN); |
break; |
case 0x0E: |
// Ralf Brown Interrupt list is WRONG on bh(page) |
// We do output only on the current page ! |
817,6 → 828,31
} |
|
// -------------------------------------------------------------------------------------------- |
ASM_START |
biosfn_get_video_mode: |
push ds |
mov ax, # BIOSMEM_SEG |
mov ds, ax |
push bx |
mov bx, # BIOSMEM_CURRENT_PAGE |
mov al, [bx] |
pop bx |
mov bh, al |
push bx |
mov bx, # BIOSMEM_VIDEO_CTL |
mov ah, [bx] |
and ah, #0x80 |
mov bx, # BIOSMEM_CURRENT_MODE |
mov al, [bx] |
or al, ah |
mov bx, # BIOSMEM_NB_COLS |
mov ah, [bx] |
pop bx |
pop ds |
ret |
ASM_END |
|
// -------------------------------------------------------------------------------------------- |
static void get_font_access() |
{ |
ASM_START |
/trunk/soc/vga/rtl/vdu.v
120,6 → 120,9
wire stb; |
wire brown_bg; |
wire brown_fg; |
wire status_reg1; |
wire vh_retrace; |
wire v_retrace; |
|
// Module instantiation |
char_rom vdu_char_rom ( |
171,6 → 174,10
|
assign wr_pos = wb_tga_i & wb_stb_i & wb_cyc_i & wb_we_i; |
|
assign v_retrace = !video_on_v; |
assign vh_retrace = v_retrace | !video_on_h; |
assign status_reg1 = { 11'b0, v_retrace, 3'b0, vh_retrace }; |
|
// Behaviour |
|
// CPU write interface |
205,10 → 212,16
wb_ack_o <= 16'h0; |
end |
else |
begin |
wb_dat_o <= vga4_rw ? out_data : wb_dat_o; |
wb_ack_o <= vga4_rw ? 1'b1 : (wb_ack_o && stb); |
end |
if (wb_tga_i) |
begin |
wb_dat_o <= status_reg1; |
wb_ack_o <= stb; |
end |
else |
begin |
wb_dat_o <= vga4_rw ? out_data : wb_dat_o; |
wb_ack_o <= vga4_rw ? 1'b1 : (wb_ack_o && stb); |
end |
|
// Cursor pos register |
always @(posedge wb_clk_i) |
/trunk/src/bochs-diff-2.3.7/disasm/syntax.cc
1,5 → 1,5
///////////////////////////////////////////////////////////////////////// |
// $Id: syntax.cc,v 1.2 2009-01-11 03:22:16 zeus Exp $ |
// $Id: syntax.cc,v 1.3 2009-01-13 08:20:40 zeus Exp $ |
///////////////////////////////////////////////////////////////////////// |
|
#include <stdio.h> |
/trunk/src/bochs-diff-2.3.7/bochs.h
1,5 → 1,5
///////////////////////////////////////////////////////////////////////// |
// $Id: bochs.h,v 1.2 2009-01-11 03:22:15 zeus Exp $ |
// $Id: bochs.h,v 1.3 2009-01-13 08:20:39 zeus Exp $ |
///////////////////////////////////////////////////////////////////////// |
// |
// Copyright (C) 2002 MandrakeSoft S.A. |
/trunk/src/bochs-diff-2.3.7/gui/gui.cc
1,5 → 1,5
///////////////////////////////////////////////////////////////////////// |
// $Id: gui.cc,v 1.2 2009-01-11 03:22:17 zeus Exp $ |
// $Id: gui.cc,v 1.3 2009-01-13 08:20:41 zeus Exp $ |
///////////////////////////////////////////////////////////////////////// |
// |
// Copyright (C) 2002 MandrakeSoft S.A. |
/trunk/src/bochs-diff-2.3.7/plugin.h
1,5 → 1,5
///////////////////////////////////////////////////////////////////////// |
// $Id: plugin.h,v 1.2 2009-01-11 03:22:15 zeus Exp $ |
// $Id: plugin.h,v 1.3 2009-01-13 08:20:39 zeus Exp $ |
///////////////////////////////////////////////////////////////////////// |
// |
// This file provides macros and types needed for plugins. It is based on |
/trunk/src/bochs-diff-2.3.7/iodev/devices.cc
1,5 → 1,5
///////////////////////////////////////////////////////////////////////// |
// $Id: devices.cc,v 1.2 2009-01-11 03:22:18 zeus Exp $ |
// $Id: devices.cc,v 1.3 2009-01-13 08:20:42 zeus Exp $ |
///////////////////////////////////////////////////////////////////////// |
// |
// Copyright (C) 2002 MandrakeSoft S.A. |
124,7 → 124,7
unsigned i; |
const char def_name[] = "Default"; |
|
BX_DEBUG(("Init $Id: devices.cc,v 1.2 2009-01-11 03:22:18 zeus Exp $")); |
BX_DEBUG(("Init $Id: devices.cc,v 1.3 2009-01-13 08:20:42 zeus Exp $")); |
mem = newmem; |
|
/* set no-default handlers, will be overwritten by the real default handler */ |
/trunk/src/bochs-diff-2.3.7/iodev/hdemu.cc
38,7 → 38,7
{ |
char name[16]; |
|
BX_DEBUG(("Init $Id: hdemu.cc,v 1.2 2009-01-11 03:22:18 zeus Exp $")); |
BX_DEBUG(("Init $Id: hdemu.cc,v 1.3 2009-01-13 08:20:42 zeus Exp $")); |
|
sprintf(name, "Hd emu"); |
/* hdemu i/o ports */ |
/trunk/src/bochs-diff-2.3.7/iodev/iodev.h
1,5 → 1,5
///////////////////////////////////////////////////////////////////////// |
// $Id: iodev.h,v 1.2 2009-01-11 03:22:18 zeus Exp $ |
// $Id: iodev.h,v 1.3 2009-01-13 08:20:42 zeus Exp $ |
///////////////////////////////////////////////////////////////////////// |
// |
// Copyright (C) 2002 MandrakeSoft S.A. |
/trunk/src/bochs-diff-2.3.7/cpu/cpu.cc
1,5 → 1,5
///////////////////////////////////////////////////////////////////////// |
// $Id: cpu.cc,v 1.2 2009-01-11 03:22:15 zeus Exp $ |
// $Id: cpu.cc,v 1.3 2009-01-13 08:20:39 zeus Exp $ |
///////////////////////////////////////////////////////////////////////// |
// |
// Copyright (C) 2001 MandrakeSoft S.A. |
/trunk/src/bochs-diff-2.3.7/cpu/crregs.h
1,5 → 1,5
///////////////////////////////////////////////////////////////////////// |
// $Id: crregs.h,v 1.2 2009-01-11 03:22:15 zeus Exp $ |
// $Id: crregs.h,v 1.3 2009-01-13 08:20:39 zeus Exp $ |
///////////////////////////////////////////////////////////////////////// |
// |
// Copyright (c) 2007 Stanislav Shwartsman |
/trunk/src/bochs-diff-2.3.7/cpu/bcd.cc
1,5 → 1,5
///////////////////////////////////////////////////////////////////////// |
// $Id: bcd.cc,v 1.2 2009-01-11 03:22:15 zeus Exp $ |
// $Id: bcd.cc,v 1.3 2009-01-13 08:20:39 zeus Exp $ |
///////////////////////////////////////////////////////////////////////// |
// |
// Copyright (C) 2002 MandrakeSoft S.A. |
/trunk/src/bochs-diff-2.3.7/instrument/zet/instrument.cc
1,5 → 1,5
///////////////////////////////////////////////////////////////////////// |
// $Id: instrument.cc,v 1.2 2009-01-11 03:22:17 zeus Exp $ |
// $Id: instrument.cc,v 1.3 2009-01-13 08:20:41 zeus Exp $ |
///////////////////////////////////////////////////////////////////////// |
// |
// Copyright (C) 2001 MandrakeSoft S.A. |
/trunk/src/bochs-diff-2.3.7/instrument/zet/instrument.h
1,5 → 1,5
///////////////////////////////////////////////////////////////////////// |
// $Id: instrument.h,v 1.2 2009-01-11 03:22:17 zeus Exp $ |
// $Id: instrument.h,v 1.3 2009-01-13 08:20:41 zeus Exp $ |
///////////////////////////////////////////////////////////////////////// |
// |
// Copyright (C) 2001 MandrakeSoft S.A. |
/trunk/bin/ml403
0,0 → 1,9
#!/bin/bash |
XIL_IMPACT_USE_LIBUSB=1 impact -batch <<EOF |
setMode -bscan |
setCable -p auto |
identify |
assignfile -p 3 -file $1 |
program -p 3 |
quit |
EOF |
trunk/bin/ml403
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/bin/prf-hd.sh
===================================================================
--- trunk/bin/prf-hd.sh (revision 40)
+++ trunk/bin/prf-hd.sh (revision 41)
@@ -1,7 +1,7 @@
#!/bin/bash
cd /home/zeus/xilinx/p3
cp etc/flash_hd.tcl etc/flash_params.tcl
-impact2 -batch <