Skip to content

Commit

Permalink
Simplify CAPI2 schema toplevel
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed Jan 10, 2025
1 parent bd156d7 commit 7f6deaf
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions fusesoc/capi2/json_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@
"title": "CAPI2",
"description": "Core API Version 2",
"type": "object",
"patternProperties": {
"^description$": {
"properties": {
"description": {
"description": "Short description of core",
"type": "string"
},
"^filesets$": { "$ref": "#/$defs/filesets" },
"^generate$": { "$ref": "#/$defs/generate" },
"^generators$": { "$ref": "#/$defs/generators" },
"^name$": {
"filesets": { "$ref": "#/$defs/filesets" },
"generate": { "$ref": "#/$defs/generate" },
"generators": { "$ref": "#/$defs/generators" },
"name": {
"description": "VLNV identifier for core",
"type": "string",
"minProperties" : 1,
"maxProperties" : 1
},
"^parameters$": { "$ref": "#/$defs/parameters" },
"^provider$": { "$ref": "#/$defs/provider" },
"^scripts$": { "$ref": "#/$defs/scripts" },
"^targets$": { "$ref": "#/$defs/targets" },
"^vpi$": {
"parameters": { "$ref": "#/$defs/parameters" },
"provider": { "$ref": "#/$defs/provider" },
"scripts": { "$ref": "#/$defs/scripts" },
"targets": { "$ref": "#/$defs/targets" },
"vpi": {
"description": "A VPI (Verilog Procedural Interface) library is a shared object that is built and loaded by a simulator to provide extra Verilog system calls. This section describes what files and external libraries to use for building a VPI library",
"type": "object",
"patternProperties": {
Expand All @@ -46,7 +46,7 @@
}
}
},
"^virtual(_append)?$": {
"virtual": {
"description": "VLNV of a virtual core provided by this core. Versions are currently not supported, only the VLN part is used.",
"type": "array",
"items": {
Expand Down

0 comments on commit 7f6deaf

Please sign in to comment.