Line 2... |
Line 2... |
PSS
|
PSS
|
|
|
Copyright (c) 2016 Alexander Antonov <153287@niuitmo.ru>
|
Copyright (c) 2016 Alexander Antonov <153287@niuitmo.ru>
|
All rights reserved.
|
All rights reserved.
|
|
|
Version 0.9
|
Version 0.99
|
|
|
The FreeBSD license
|
The FreeBSD license
|
|
|
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
modification, are permitted provided that the following conditions
|
modification, are permitted provided that the following conditions
|
Line 350... |
Line 350... |
WAIT(50000);
|
WAIT(50000);
|
UART_SEND(`SYNC_BYTE);
|
UART_SEND(`SYNC_BYTE);
|
UART_SEND(`IDCODE_CMD);
|
UART_SEND(`IDCODE_CMD);
|
pss_hreset();
|
pss_hreset();
|
|
|
dma_test_rd();
|
//dma_test_rd();
|
/*
|
|
pss_restart();
|
pss_restart();
|
pss_sgi();
|
//pss_sgi();
|
pss_sgi();
|
//pss_sgi();
|
pss_sgi();
|
//pss_sgi();
|
pss_wr_single(32'h8a000000, 32'h5aaa5aaa);
|
pss_wr_single(32'h8a000000, 32'h5aaa5aaa);
|
WAIT(50000);
|
WAIT(50000);
|
$display ("### READING MEMORY ###");
|
$display ("### READING MEMORY ###");
|
pss_rd_single(32'h00000000);
|
pss_rd_single(32'h00000000);
|
pss_rd_single(32'h00000004);
|
pss_rd_single(32'h00000004);
|
pss_rd_single(32'h00000008);
|
pss_rd_single(32'h00000008);
|
pss_rd_single(32'h0000000C);
|
pss_rd_single(32'h0000000C);
|
WAIT(777);
|
WAIT(777);
|
pss_rd_single(32'h00000000);
|
pss_rd_single(32'h00000000);
|
pss_rd_single(32'h00000004);
|
pss_rd_single(32'h00000004);
|
pss_rd_single(32'h00000008);
|
pss_rd_single(32'h00000008);
|
pss_rd_single(32'h0000000C);
|
pss_rd_single(32'h0000000C);
|
*/
|
|
|
|
WAIT(50000);
|
WAIT(50000);
|
|
|
$display ("### TEST PROCEDURE FINISHED ###");
|
$display ("### TEST PROCEDURE FINISHED ###");
|
$stop;
|
$stop;
|