mor1kx-bemicrocv/devicemodels
2016-08-04 21:00:36 +02:00
..
atmel_flash_user_guide_with_rapids.doc Initial commit 2016-08-04 19:22:38 +02:00
dataflash2.1.vhd dataflash-model: some reformatting and removed timing checks 2016-08-04 21:00:36 +02:00
memory.txt Initial commit 2016-08-04 19:22:38 +02:00
readme.txt Initial commit 2016-08-04 19:22:38 +02:00

 please do  for modelsim 

vlib work
vmap work work


compiledataflashDF.do

for testing opcodes

	Buffer 1 write
	Buffer 2 write
	Buffer 1 to main memory page program with built in Erase
	Buffer 2 to main memory page program with built in Erase
	main memory page to buffer 2 transfer
	main memory page to buffer 1 transfer
	buffer 1 read
	buffer 2 read

*************************************************8
compiledataflashCE.do


for testing opcodes

	chip erase

*****************************************************
compiledataflashE.do


for testing opcodes

	Page erase
	Block Erase
	sector erase

************************************************

compiledataflashRR.do


for testing opcodes

	Enable sector protection
	Disable sector Protection
	Erase sector protection register
	Program sector lock down Register
	Program security register
	Program sector protection register
	Status Register Read
	Manufacturing ID Read
	Deep power down
	Resume from deep power down
	Read sector protection register
	Read security register
	Read sector lock down register
*************************************************

compiledataflashMEM.do


for testing opcodes

	main memory page program through buffer 1
	Auto page rewrite through buffer 1
	main memory page read
	main memory continuous array read

***************************************************

compiledataflashBPS.do


for testing opcodes

	binary page setup
	buffer 2 write
	buffer 2 to main memory page program with out built in erase.
	main memory page compare with buffer 1
	main memory to buffer 1 transfer


********************************************************

For all simulatcases  you have simulate only one test becnh top 

vsim work.tb_Dataflashtestbench

run -all


or at modelsim> prompt

do simcommon.do

run -all

if needed  add wave -r * to view all waveforms