mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-02-28 20:30:10 +00:00
CYCLES_PER_FILL
This commit is contained in:
parent
6134f90b13
commit
11bdd3cf63
6
package-lock.json
generated
6
package-lock.json
generated
@ -2967,9 +2967,9 @@
|
||||
}
|
||||
},
|
||||
"node-fetch": {
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
|
||||
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==",
|
||||
"version": "2.6.1",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
|
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
|
||||
"dev": true
|
||||
},
|
||||
"normalize-package-data": {
|
||||
|
@ -159,6 +159,8 @@ export function VL_READMEM_W(ishex,width,depth,array_lsb,fnwords,filename,memp,s
|
||||
memp[i] = data[i];
|
||||
}
|
||||
|
||||
const CYCLES_PER_FILL = 20;
|
||||
|
||||
// SIMULATOR BASE
|
||||
|
||||
abstract class VerilatorBase {
|
||||
@ -483,7 +485,7 @@ var VerilogPlatform = function(mainElement, options) {
|
||||
updateScopeFrame() {
|
||||
this.split.setSizes([0,100]); // ensure scope visible
|
||||
//this.topdiv.hide();// hide crt
|
||||
var done = this.fillTraceBuffer(32 * trace_signals.length); // TODO: const
|
||||
var done = this.fillTraceBuffer(CYCLES_PER_FILL * trace_signals.length);
|
||||
if (done)
|
||||
this.pause(); // TODO?
|
||||
// TODO
|
||||
|
Loading…
x
Reference in New Issue
Block a user