Hi,
some simple code required.i was trying but i was unable.
But i want instances to get printed each time like we are printing comparing instance name.
suppose if we take
Each X_RAMB18E1 module consists of different instances like i
for the first time
\U_eth_aggregat or_tb/eth_aggregator/core_0/client_side_FIF O1/rx_fifo_i/ramgen_u (
for the second time
\U_eth_aggregat or_tb/eth_aggregator/core_0/central_memory/Mram_txmemory8 (
Now i want regular expression to find the code starting with
\U_eth_aggregat or_tb/eth_aggregator/core_0/ and ending with opening bracket.
and print the line.(here i want the extaracted string) like
\U_eth_aggregat or_tb/eth_aggregator/core_0/client_side_FIF O1/rx_fifo_i/ramgen_u
for each every cccurance of module the instance is different
so i should use the same RE.but each insatance has same properties like starting with
\U_eth_aggregat or_tb/eth_aggregator/core_0/ and ending with open bracket.
and print the whole matching line
in short iwant RE starting with \U_eth_aggregat or_tb/eth_aggregator/core_0/ and ending
with bracket.all the code is in @codes1 . from codes1 i have to extract the instance with RE
i have to find the occurance and print the insatance
some simple code required.i was trying but i was unable.
But i want instances to get printed each time like we are printing comparing instance name.
suppose if we take
Each X_RAMB18E1 module consists of different instances like i
for the first time
\U_eth_aggregat or_tb/eth_aggregator/core_0/client_side_FIF O1/rx_fifo_i/ramgen_u (
for the second time
\U_eth_aggregat or_tb/eth_aggregator/core_0/central_memory/Mram_txmemory8 (
Now i want regular expression to find the code starting with
\U_eth_aggregat or_tb/eth_aggregator/core_0/ and ending with opening bracket.
and print the line.(here i want the extaracted string) like
\U_eth_aggregat or_tb/eth_aggregator/core_0/client_side_FIF O1/rx_fifo_i/ramgen_u
for each every cccurance of module the instance is different
so i should use the same RE.but each insatance has same properties like starting with
\U_eth_aggregat or_tb/eth_aggregator/core_0/ and ending with open bracket.
and print the whole matching line
in short iwant RE starting with \U_eth_aggregat or_tb/eth_aggregator/core_0/ and ending
with bracket.all the code is in @codes1 . from codes1 i have to extract the instance with RE
i have to find the occurance and print the insatance
Comment