213 lines
6.3 KiB
C++
213 lines
6.3 KiB
C++
/*
|
|
"* j_default.cpp
|
|
"*
|
|
"* Created on: 04/gen/2021
|
|
"* Author: chessaa
|
|
"*/
|
|
|
|
|
|
|
|
|
|
const char* json_str_default=
|
|
"{"
|
|
" 'pingpong': '0x01000000',"
|
|
" 'base': '0x80000000',"
|
|
" "
|
|
" 'flows': ["
|
|
" {"
|
|
" 'name': 'SWHDR',"
|
|
" 'base': '0xA0000000',"
|
|
" 'size': 4096,"
|
|
" 'format': 'h',"
|
|
" 'rows@': 26,"
|
|
" 'cols@': 27,"
|
|
" 'batch@': 24,"
|
|
" 'tag@': 25"
|
|
" },"
|
|
" {"
|
|
" 'name': 'SWSUM',"
|
|
" 'base': '0xA0010000',"
|
|
" 'format': 'c16'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'SWGUARD',"
|
|
" 'base': '0xA0110000',"
|
|
" 'format': 'c16'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'F-HDR',"
|
|
" 'base': '+0',"
|
|
" 'size': 4096,"
|
|
" 'format': 'u32',"
|
|
" 'rows@': 26,"
|
|
" 'cols@': 27,"
|
|
" 'batch@': 24,"
|
|
" 'tag@': 25"
|
|
" },"
|
|
" {"
|
|
" 'name': 'F-GUARD',"
|
|
" 'base': '+0x00801000',"
|
|
" 'format': 'c16'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'F-SUM',"
|
|
" 'base': '+0x00101000',"
|
|
" 'format': 'c16'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'F-DC1DAZ',"
|
|
" 'base': '+0x00001000',"
|
|
" 'format': 'c16'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'F-DC1DEL',"
|
|
" 'base': '+0x00201000',"
|
|
" 'format': 'c16'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'F-DAZ',"
|
|
" 'base': '0x80401000',"
|
|
" 'format': 'c16'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'F-DEL',"
|
|
" 'base': '0x80701000',"
|
|
" 'format': 'c16'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'SOFT',"
|
|
" 'base': '0xF0000000',"
|
|
" 'format': 'SW',"
|
|
" 'pingpong': 0,"
|
|
" 'size': '4M'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'SOFTDFE',"
|
|
" 'base': '0xE0000000',"
|
|
" 'format': 'SW',"
|
|
" 'pingpong': 0,"
|
|
" 'size': '4M'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'VIDEO',"
|
|
" 'base': '0xEF000000',"
|
|
" 'format': 'video',"
|
|
" 'pingpong': 0"
|
|
" },"
|
|
" {"
|
|
" 'name': 'CTRLINK',"
|
|
" 'base': '0x00000000',"
|
|
" 'format': 'u32',"
|
|
" 'pingpong': '0x00010000',"
|
|
" 'size': 16384"
|
|
" },"
|
|
" {"
|
|
" 'name': 'EXTLINK',"
|
|
" 'base': '0x10000000',"
|
|
" 'format': 'u32',"
|
|
" 'pingpong': '0x00010000',"
|
|
" 'size': 16384"
|
|
" },"
|
|
" {"
|
|
" 'name': 'AESA',"
|
|
" 'base': '0xD0040000',"
|
|
" 'format': 'u32',"
|
|
" 'pingpong': '0x8000',"
|
|
" 'size': '8K'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'DET',"
|
|
" 'base': '0x55000000',"
|
|
" 'format': 'u32',"
|
|
" 'pingpong': '0x4000',"
|
|
" 'size': '16K'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'EXP',"
|
|
" 'base': '0x58200000',"
|
|
" 'format': 'u32',"
|
|
" 'pingpong': '0x400',"
|
|
" 'size': '1K'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'PC',"
|
|
" 'base': '0x57000000',"
|
|
" 'format': 'u32',"
|
|
" 'pingpong': '0x020000',"
|
|
" 'size': '8K'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'DISP',"
|
|
" 'base': '0x56000000',"
|
|
" 'format': 'u32',"
|
|
" 'pingpong': '0x0200',"
|
|
" 'size': '0x200'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'DISPHEADER',"
|
|
" 'base': '0x56004000',"
|
|
" 'format': 'H',"
|
|
" 'pingpong': '0x1000',"
|
|
" 'size': '4k',"
|
|
" 'rows@': 26,"
|
|
" 'cols@': 27,"
|
|
" 'batch@': 24,"
|
|
" 'tag@': 25"
|
|
" },"
|
|
" {"
|
|
" 'name': 'TIMER',"
|
|
" 'base': '0x44A10000',"
|
|
" 'format': 'u32',"
|
|
" 'pingpong': '0x02000',"
|
|
" 'size': '8K'"
|
|
" },"
|
|
" {"
|
|
" 'name': 'UNKNOW1',"
|
|
" 'base': '0x70000000',"
|
|
" 'format': 'u32',"
|
|
" 'pingpong': '0x01000',"
|
|
" 'size': '8K'"
|
|
" }"
|
|
" "
|
|
" ],"
|
|
" "
|
|
" 'help_':["
|
|
" {'format': 'c16=complex fixed point 16+16, c32: complex float 32+32, f: float, i/u[32|16|8], H=header, S=struct'},"
|
|
" {'rows@': 'offset for reading expected number of rows (nrbin)'}"
|
|
" {'texfmt': 'modified parser to accept single and double quote'}"
|
|
" ]"
|
|
"}"
|
|
;
|
|
|
|
|
|
#if 0
|
|
""
|
|
"{"
|
|
" \"flows\": [{"
|
|
" \"name\": \"HDR\","
|
|
" \"base\": \"0xA0000000\","
|
|
" \"size\": 4096,"
|
|
" \"format\": \"H\","
|
|
" \"rows@\": 26,"
|
|
" \"cols@\": 27,"
|
|
" \"batch@\": 24"
|
|
" },"
|
|
" {"
|
|
" \"name\": \"SUM\","
|
|
" \"base\": \"0xA0010000\","
|
|
" \"format\": \"c16\""
|
|
" },"
|
|
" {"
|
|
" \"name\": \"GUARD\","
|
|
" \"super\": \"SUM\","
|
|
" \"base\": \"0xA0110000\""
|
|
" }"
|
|
" ],"
|
|
" \"help_\":["
|
|
" {\"format\": \"c16=complex fixed point 16+16, c32: complex float 32+32, f: float, i/u[32|16|8], H=header, S=struct\"},"
|
|
" {\"rows@\": \"offset for reading expected number of rows (nrbin)\"}"
|
|
" ]"
|
|
"}"
|
|
;
|
|
#endif
|