📄 class.ptf
字号:
DATA
{
$H/prescale = "$";
}
q = "'";
warning = "{{ if(!(regexp('ugly_'+$H/prescale,'ugly_[0-9]*'+$q+'[bB][01][_01]*')||regexp('ugly_'+$H/prescale,'ugly_[0-9]*'+$q+'[hH][0-9a-fA-F][_0-9a-fA-F]*')||regexp('ugly_'+$H/prescale,'ugly_[0-9]*'+$q+'[oO][0-7][_0-7]*')||regexp('ugly_'+$H/prescale,'ugly_0x[0-9a-fA-F]+')||regexp('ugly_'+$H/prescale,'ugly_-?[0-9]+')))'PRESCALE must be numeric constant, not '+$H/prescale; }}";
}
EDIT e2
{
id = "HOLDCOUNT";
editable = "1";
title = "HOLDCOUNT:";
columns = "40";
tooltip = "default value: 32'b00000000000000011110100001001000";
DATA
{
$H/holdcount = "$";
}
q = "'";
warning = "{{ if(!(regexp('ugly_'+$H/holdcount,'ugly_[0-9]*'+$q+'[bB][01][_01]*')||regexp('ugly_'+$H/holdcount,'ugly_[0-9]*'+$q+'[hH][0-9a-fA-F][_0-9a-fA-F]*')||regexp('ugly_'+$H/holdcount,'ugly_[0-9]*'+$q+'[oO][0-7][_0-7]*')||regexp('ugly_'+$H/holdcount,'ugly_0x[0-9a-fA-F]+')||regexp('ugly_'+$H/holdcount,'ugly_-?[0-9]+')))'HOLDCOUNT must be numeric constant, not '+$H/holdcount; }}";
}
EDIT e3
{
id = "IDLE";
editable = "1";
title = "IDLE:";
columns = "40";
tooltip = "default value: 2'b00";
DATA
{
$H/idle = "$";
}
q = "'";
warning = "{{ if(!(regexp('ugly_'+$H/idle,'ugly_[0-9]*'+$q+'[bB][01][_01]*')||regexp('ugly_'+$H/idle,'ugly_[0-9]*'+$q+'[hH][0-9a-fA-F][_0-9a-fA-F]*')||regexp('ugly_'+$H/idle,'ugly_[0-9]*'+$q+'[oO][0-7][_0-7]*')||regexp('ugly_'+$H/idle,'ugly_0x[0-9a-fA-F]+')||regexp('ugly_'+$H/idle,'ugly_-?[0-9]+')))'IDLE must be numeric constant, not '+$H/idle; }}";
}
EDIT e4
{
id = "START";
editable = "1";
title = "START:";
columns = "40";
tooltip = "default value: 2'b01";
DATA
{
$H/start = "$";
}
q = "'";
warning = "{{ if(!(regexp('ugly_'+$H/start,'ugly_[0-9]*'+$q+'[bB][01][_01]*')||regexp('ugly_'+$H/start,'ugly_[0-9]*'+$q+'[hH][0-9a-fA-F][_0-9a-fA-F]*')||regexp('ugly_'+$H/start,'ugly_[0-9]*'+$q+'[oO][0-7][_0-7]*')||regexp('ugly_'+$H/start,'ugly_0x[0-9a-fA-F]+')||regexp('ugly_'+$H/start,'ugly_-?[0-9]+')))'START must be numeric constant, not '+$H/start; }}";
}
EDIT e5
{
id = "STOP";
editable = "1";
title = "STOP:";
columns = "40";
tooltip = "default value: 2'b10";
DATA
{
$H/stop = "$";
}
q = "'";
warning = "{{ if(!(regexp('ugly_'+$H/stop,'ugly_[0-9]*'+$q+'[bB][01][_01]*')||regexp('ugly_'+$H/stop,'ugly_[0-9]*'+$q+'[hH][0-9a-fA-F][_0-9a-fA-F]*')||regexp('ugly_'+$H/stop,'ugly_[0-9]*'+$q+'[oO][0-7][_0-7]*')||regexp('ugly_'+$H/stop,'ugly_0x[0-9a-fA-F]+')||regexp('ugly_'+$H/stop,'ugly_-?[0-9]+')))'STOP must be numeric constant, not '+$H/stop; }}";
}
EDIT e6
{
id = "HOLD";
editable = "1";
title = "HOLD:";
columns = "40";
tooltip = "default value: 2'b11";
DATA
{
$H/hold = "$";
}
q = "'";
warning = "{{ if(!(regexp('ugly_'+$H/hold,'ugly_[0-9]*'+$q+'[bB][01][_01]*')||regexp('ugly_'+$H/hold,'ugly_[0-9]*'+$q+'[hH][0-9a-fA-F][_0-9a-fA-F]*')||regexp('ugly_'+$H/hold,'ugly_[0-9]*'+$q+'[oO][0-7][_0-7]*')||regexp('ugly_'+$H/hold,'ugly_0x[0-9a-fA-F]+')||regexp('ugly_'+$H/hold,'ugly_-?[0-9]+')))'HOLD must be numeric constant, not '+$H/hold; }}";
}
}
}
}
}
}
SOPC_Builder_Version = "6.00";
COMPONENT_BUILDER
{
HDL_PARAMETERS
{
# generated by CBDocument.getParameterContainer
# used only by Component Editor
HDL_PARAMETER prescale
{
parameter_name = "PRESCALE";
type = "integer";
default_value = "16'b0000000000000101";
editable = "1";
tooltip = "";
}
HDL_PARAMETER holdcount
{
parameter_name = "HOLDCOUNT";
type = "integer";
default_value = "32'b00000000000000011110100001001000";
editable = "1";
tooltip = "";
}
HDL_PARAMETER idle
{
parameter_name = "IDLE";
type = "integer";
default_value = "2'b00";
editable = "1";
tooltip = "";
}
HDL_PARAMETER start
{
parameter_name = "START";
type = "integer";
default_value = "2'b01";
editable = "1";
tooltip = "";
}
HDL_PARAMETER stop
{
parameter_name = "STOP";
type = "integer";
default_value = "2'b10";
editable = "1";
tooltip = "";
}
HDL_PARAMETER hold
{
parameter_name = "HOLD";
type = "integer";
default_value = "2'b11";
editable = "1";
tooltip = "";
}
}
SW_FILES
{
}
built_on = "2006.08.12.11:18:32";
CACHED_HDL_INFO
{
# cached hdl info, emitted by CBFrameRealtime.getDocumentCachedHDLInfoSection
# used only by Component Builder
FILE serial_segment.v
{
file_mod = "Sat Aug 12 11:15:01 CST 2006";
quartus_map_start = "Sat Aug 12 11:17:26 CST 2006";
quartus_map_finished = "Sat Aug 12 11:17:31 CST 2006";
#found 2 valid modules
WRAPPER serial_segment
{
CLASS serial_segment
{
CB_GENERATOR
{
HDL_FILES
{
FILE
{
use_in_simulation = "1";
use_in_synthesis = "1";
type = "";
filepath = "G:/FreeDev程序库和IP/serial_sigment/hdl/serial_segment.v";
}
}
top_module_name = "serial_segment";
emit_system_h = "0";
}
MODULE_DEFAULTS global_signals
{
class = "serial_segment";
class_version = "1.0";
SYSTEM_BUILDER_INFO
{
Instantiate_In_System_Module = "1";
}
SLAVE avalon_slave_0
{
SYSTEM_BUILDER_INFO
{
Bus_Type = "avalon";
}
PORT_WIRING
{
PORT rst_n
{
width = "1";
width_expression = "";
direction = "input";
type = "export";
is_shared = "0";
vhdl_record_name = "";
vhdl_record_type = "";
}
PORT cs_n
{
width = "1";
width_expression = "";
direction = "input";
type = "export";
is_shared = "0";
vhdl_record_name = "";
vhdl_record_type = "";
}
PORT rd_n
{
width = "1";
width_expression = "";
direction = "input";
type = "export";
is_shared = "0";
vhdl_record_name = "";
vhdl_record_type = "";
}
PORT wr_n
{
width = "1";
width_expression = "";
direction = "input";
type = "export";
is_shared = "0";
vhdl_record_name = "";
vhdl_record_type = "";
}
PORT addr
{
width = "3";
width_expression = "";
direction = "input";
type = "export";
is_shared = "0";
vhdl_record_name = "";
vhdl_record_type = "";
}
PORT rdata
{
width = "8";
width_expression = "";
direction = "output";
type = "export";
is_shared = "0";
vhdl_record_name = "";
vhdl_record_type = "";
}
PORT wdata
{
width = "8";
width_expression = "";
direction = "input";
type = "export";
is_shared = "0";
vhdl_record_name = "";
vhdl_record_type = "";
}
PORT s_clk
{
width = "1";
width_expression = "";
direction = "output";
type = "export";
is_shared = "0";
vhdl_record_name = "";
vhdl_record_type = "";
}
PORT s_dat
{
width = "1";
width_expression = "";
direction = "output";
type = "export";
is_shared = "0";
vhdl_record_name = "";
vhdl_record_type = "";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -