OpenCores
URL https://opencores.org/ocsvn/zet86/zet86/trunk

Subversion Repositories zet86

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 15 to Rev 16
    Reverse comparison

Rev 15 → Rev 16

/trunk/rtl-model/alu.v
25,12 → 25,12
 
// Module instances
addsub ad0(x[15:0], y, add, func, word_op, cfi, cf_add, af_add, of_add);
adj adj0(x[15:0], y, {cf_adj, adj}, func, afi, cfi, af_adj, of_adj);
conv cnv0(x[15:0], cnv, func[0]);
muldiv mul0(x, y, mul, func[1:0], word_op, cf_mul, of_mul);
bitlog lo0(x[15:0], y, log, func, cf_log, of_log);
shifts sh0(x[15:0], y, shi, func[1:0], word_op, cfi, ofi, cf_shi, of_shi);
rotat rot0(x[15:0], y, rot, func[1:0], word_op, cfi, cf_rot, of_rot);
// adj adj0(x[15:0], y, {cf_adj, adj}, func, afi, cfi, af_adj, of_adj);
// conv cnv0(x[15:0], cnv, func[0]);
// muldiv mul0(x, y, mul, func[1:0], word_op, cf_mul, of_mul);
// bitlog lo0(x[15:0], y, log, func, cf_log, of_log);
// shifts sh0(x[15:0], y, shi, func[1:0], word_op, cfi, ofi, cf_shi, of_shi);
// rotat rot0(x[15:0], y, rot, func[1:0], word_op, cfi, cf_rot, of_rot);
othop oth0(x[15:0], y, seg, off, iflags, func, word_op, oth, othflags);
 
mux8_16 m0(t, adj, add, cnv[15:0],
127,7 → 127,7
assign ofo = word_op ? ofo16 : ofo8;
endmodule
 
 
/*
module adj(x, y, out, func, afi, cfi, afo, cfo);
// IO ports
input [15:0] x, y;
357,8 → 357,8
: // left
(word_op ? cfo^out[15] : cfo^out[7]);
endmodule
*/
 
 
module othop (x, y, seg, off, iflags, func, word_op, out, oflags);
// IO ports
input [15:0] x, y, off, seg, iflags;
/trunk/tests/i86/.bochsrc
1,8 → 1,8
romimage: file=05_jump2.out
romimage: file=08_rep.out
cpu: count=1, ips=10000000, reset_on_triple_fault=1
megs: 2
#vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
vgaromimage: file=/usr/share/vgabios/vgabios.bin
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
#vgaromimage: file=/usr/share/vgabios/vgabios.bin
vga: extension=none
floppy_bootsig_check: disabled=0
log: bochsout.txt
16,4 → 16,4
keyboard_paste_delay: 100000
mouse: enabled=1, type=imps2
private_colormap: enabled=0
#keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-es.map
keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-es.map
/trunk/tests/i86/03_control.s
49,7 → 49,7
movw %ax, (0)
movw %bx, (2)
 
nop
#nop # FIXME: Without this nop seems not working
 
hlt # (5)
 
/trunk/tests/i86/08_rep.s
50,6 → 50,7
jmp rep_stos_z
 
.org 0x607
nop ## FIXME: THIS MUST BE INTRODUCED, otherwise the jmp is not taken!!
jmp rep_lods_nz
 
.org 0x809

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.