has anybody here worked with the oregano systems 8051 ip core. I need help testing the parameterized number of timers on fpga. the lines from the user guide document are here:
"In the VHDL source file mc8051_p.vhd the constant C_IMPL_N_TMR can take values from 1 to 256 to control this feature. Values out of this interval result in a non functioning configuration of the core."
can someone explain how to access these new peripherals in the keil source code through the extended sfrs namely "TSEL and SSEL" that are created in the oregano 8051 IP core. the lines concerning are qouted here
To be able to reach all registers of the generated units without changing the address space of the microcontroller only two 8bit registers are inferred as additional special function registers. These are TSEL (address 0x8Eh for timer/counter units) and SSEL (address 0x9Ah for serial interface units). If these registers point to a not existent device number, the default unit number 1 is selected.
Have you actually contacted Oregano for support with their product?
" for the 8051:
80C51 Family/80C51 Family Architecture: ecee.colorado.edu/.../p8051arc.pdf
80C51 Family/80C51 8-bit Microcontroller Family Data Sheet: ecee.colorado.edu/.../p8051ds.pdf
80C51 Family/80C51 Family Hardware Description: ecee.colorado.edu/.../p8051hw.pdf
80C51 Family/80C51 Family Programmer's Guide and Instruction Set: ecee.colorado.edu/.../p8051pg.pdf
The "Family Architecture" document starts with a description of the 8051's memory organisation and address spaces.
You will also need to study the Keil documentation to see how they have adapted the standard 'C' programming language to cope with these (and other) idiosyncrasies of the 8051 hardware architecture:
http://www.keil.com/support/man_c51.htm
Specifically, on the various memory spaces: http://www.keil.com/support/man/docs/c51/c51_le_memtypes.htm
See http://www.keil.com/books/8051books.asp for a book list.
Note that the 8051 has been around for decades - there is no shortage of examples - both online and in old-fashioned books, etc.
See also:
http://www.keil.com/appnotes/list/c51.htm