|
EXCEL2RAL - EXCEL格式寄存器REGISTER描述文件转换为SYNOPSYS RAL格式
excel2ral – 将excel格式寄存器定义转换为RAL格式
NAME
excel2ral
SYNOPSIS
excel2ral [-ls] [-cfg excel_sheet.cfg] [excel.xls | excel.xlsx] [excel_sheet_name]
DESCRIPTION
A simple perl script (use Spreadsheet:arseExcel)
Convert excel register defintions file to synopys RAL format.
Script parse .xls & .xlsx file accroding to excel extension name.
-ls
only list all worksheet names.
-cfg excel_sheet.cfg
specify excel sheet cfg file which specify register & field items column info.
row 0 is represented row 1.
col 0 is represented column A.
LIMITS
1. register definition items (offset, name, description) must be in same row.
2. field definitions items (offset, name, access, reset, description) must be in same row.
3. Not support merged excel cells.
AUTHOR
Written by zhangguo1286 @2017-05-12.
|
|