⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hierarchy.pm

📁 這是一個VHDL的parser目前版本為0.12
💻 PM
字号:
################################################################### Copyright (C) 2000 Greg London   All Rights Reserved.# This program is free software; you can redistribute it and/or# modify it under the same terms as Perl itself.####################################################################################################################################package Hardware::Vhdl::Hierarchy;use Hardware::Vhdl::Parser;@ISA = ( 'Hardware::Vhdl::Parser' );##################################################################use vars qw ( $VERSION );$VERSION = '0.02';####################################################################################################################################sub new##################################################################{ my ($pkg) = @_; # make Hardware::Vhdl::Parser object, use SUPER:: to find the method via @ISA my $r_hash = $pkg->SUPER::new; $r_hash -> Replace ( q( component_instantiation_statement :	instantiation_label 	':'	entity_configuration_component	generic_map_section(?)	port_map_section(?)	';'		{ print "INSTANCENAME $item{instantiation_label} \n"; }entity_name : identifier 		{ print "ENTITY_NAME $item{identifier} \n"; } )); # bless it as a vhdl_hierarchy object bless $r_hash, $pkg; return $r_hash;} 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -