URL
https://opencores.org/ocsvn/openarty/openarty/trunk
Subversion Repositories openarty
Compare Revisions
- This comparison shows the changes necessary to convert path
/openarty/trunk/sw/host
- from Rev 31 to Rev 32
- ↔ Reverse comparison
Rev 31 → Rev 32
/portbus.cpp
File deleted
/portbus.h
File deleted
/cpuscope.cpp
74,6 → 74,7
printf("TRIG "); |
else |
printf(" "); |
if (true) { |
if ((val & 0x40000000)==0) { |
printf("%s <- 0x.%08x", regstr[(val>>32-6)&0xf], val&0x03ffffff); |
} else if ((val & 0x60000000)==0x60000000) { |
144,6 → 145,65
if (memwe) printf(" MEM-WE"); |
if (membsy) printf(" MEM-BUSY"); |
// |
}} |
|
if (false) { |
// CPU internal bus_debug |
int mce, mwe, mbsy, mpip, |
gcyc, gstb, lcyc, lstb, we, ack, stall, err, |
pcyc, pstb, pack, pstall, perr, |
mcycg, mstbg, mcycl, mstbl, mack, mstall, merr; |
|
mce = (val>>24)&1; |
// |
mbsy = (val>>22)&1; |
mpip = (val>>21)&1; |
gcyc = (val>>20)&1; |
gstb = (val>>19)&1; |
lcyc = (val>>18)&1; |
lstb = (val>>17)&1; |
we = (val>>16)&1; |
ack = (val>>15)&1; |
stall = (val>>14)&1; |
err = (val>>13)&1; |
pcyc = (val>>12)&1; |
pstb = (val>>11)&1; |
pack = (val>>10)&1; |
pstall = (val>> 9)&1; |
perr = (val>> 8)&1; |
mcycg = (val>> 7)&1; |
mstbg = (val>> 6)&1; |
mcycl = (val>> 5)&1; |
mstbl = (val>> 4)&1; |
mwe = (val>> 3)&1; |
mack = (val>> 2)&1; |
mstall = (val>> 1)&1; |
merr = (val&1); |
|
printf("P[%s%s%s%s%s]", |
(pcyc)?"C":" ", |
(pstb)?"S":" ", |
(pack)?"A":" ", |
(pstall)?"S":" ", |
(perr)?"E":" "); |
|
printf("M[(%s%s)(%s%s)%s%s%s%s]", |
(mcycg)?"C":" ", (mstbg)?"S":" ", |
(mcycl)?"C":" ", (mstbl)?"S":" ", |
(mwe)?"W":"R", (mack)?"A":" ", |
(mstall)?"S":" ", |
(merr)?"E":" "); |
|
printf("O[(%s%s)(%s%s)%s%s%s%s]", |
(gcyc)?"C":" ", (gstb)?"S":" ", |
(lcyc)?"C":" ", (lstb)?"S":" ", |
(we)?"W":"R", (ack)?"A":" ", |
(stall)?"S":" ", |
(err)?"E":" "); |
|
if (mbsy) printf("M-BUSY "); |
if (mpip) printf("M-PIPE "); |
if (mce) printf("M-CE "); |
} |
} |
}; |
/flashdrvr.cpp
167,7 → 167,7
|
bool FLASHDRVR::verify_config(void) { |
unsigned cfg = m_fpga->readio(R_QSPI_VCONF); |
printf("CFG = %02x\n", cfg); |
// printf("CFG = %02x\n", cfg); |
return (cfg == VCONF_VALUE); |
} |
|
/ttybus.cpp
49,7 → 49,7
const unsigned TTYBUS::MAXWRLEN = 32; |
|
// #define DBGPRINTF printf |
#define DBGPRINTF filedump |
// #define DBGPRINTF filedump |
#ifndef DBGPRINTF |
#define DBGPRINTF null |
#else |
.
Property changes :
Added: svn:ignore
## -0,0 +1,35 ##
+cfgscope
+cpuscope
+crctest
+dbg.txt
+dbg2.txt
+debug.txt
+dumpflash
+eqspiscope
+eqspidump-original.bin
+eqspidump.bin
+erxscope
+etxscope
+genoimage
+genoimage.cpp
+manping
+mdioscope
+mtee.txt
+mtest
+netsetup
+netuart
+obj-pc
+scopout
+scopout.txt
+scopout2.txt
+sdramscope
+tags
+wbprogram
+wbregs
+wbsettime
+wbuscope
+zipdbg
+zipload
+zipstate
+.gitignore
+.*.swp