duh-schema
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -90,2 +90,6 @@ 'use strict'; | ||
name, | ||
addressUnitBits: { | ||
enum: [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024], | ||
default: 8 | ||
}, | ||
addressBlocks: { | ||
@@ -92,0 +96,0 @@ type: 'array', |
'use strict'; | ||
const component = require('./component'); | ||
const design = require('./design'); | ||
const abstractionDefinition = require('./abstractionDefinition'); | ||
@@ -11,2 +12,3 @@ const busDefinition = require('./busDefinition'); | ||
component, | ||
design, | ||
abstractionDefinition, | ||
@@ -13,0 +15,0 @@ busDefinition |
@@ -10,4 +10,4 @@ 'use strict'; | ||
name: id, | ||
addressOffset: uint, // base >> log2(regWidth) | ||
size: uint, // regWidth | ||
addressOffset: {oneOf: [expression, uint]}, // in memoryMaps[?].addressUnitBits | ||
size: {oneOf: [expression, uint]}, // regWidth in bits | ||
access: access, | ||
@@ -23,4 +23,4 @@ displayName: { type: 'string' }, | ||
// bits: uint, | ||
bitOffset: {oneOf: [expression, uint]}, // base % regWidth | ||
bitWidth: {oneOf: [expression, uint]}, // size | ||
bitOffset: {oneOf: [expression, uint]}, // base % regWidth in bits | ||
bitWidth: {oneOf: [expression, uint]}, // in bits | ||
name: id, | ||
@@ -27,0 +27,0 @@ desc: { type: 'string' }, |
{ | ||
"name": "duh-schema", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
175849
14
515