til

vr_ad register definition utility

Hi All.

I put together a small Perl script to generate vr_ad register definitions from SPIRIT (IP-XACT) XML.
If you've got not idea what IP-XACT is, have a look here http://www.spiritconsortium.org/, then start pestering your design manager to use it :-)

The script can filter out registers and override R/W access types if needed.

An example XML file is included with the package so that you can play with it, and there's a detailed README.txt as well.

Here's an example of the generated e code:

// Automatically generated from xdmac.xml
// DO NOT EDIT, or your changes may be lost
<'

import vr_ad/e/vr_ad_top;

// Component = XDMAC
// memoryMap = xdmac
extend vr_ad_map_kind : [XDMAC];

// addressBlock = dma_eth
extend vr_ad_reg_file_kind : [DMA_ETH];

extend DMA_ETH vr_ad_reg_file {
keep size == 20;
keep addressing_width_in_bytes == 4;
};

// Register = command
// Reset = 0x00
reg_def COMMAND DMA_ETH 0x0 {
// Field resv3 = command[31:29]
reg_fld resv3 : uint(bits:3) : R : 0 : cov ;
// Field transfer_size = command[28:19]
reg_fld transfer_size : uint(bits:10) : RW : 0 : cov ;
// Field dma_transfer_target = command[18:14]
reg_fld dma_transfer_target : uint(bits:5) : RW : 0 : cov ;
// Field resv2 = command[13:10]
reg_fld resv2 : uint(bits:4) : R : 0 : cov ;
// Field transmit_receive = command[9:9]
reg_fld transmit_receive : uint(bits:1) : RW : 0 : cov ;
// Field resv1 = command[8:5]
reg_fld resv1 : uint(bits:4) : R : 0 : cov ;
// Field dest_address_enable = command[4:4]
reg_fld dest_address_enable : uint(bits:1) : RW : 0 : cov ;
// Field source_address_enable = command[3:3]
reg_fld source_address_enable : uint(bits:1) : RW : 0 : cov ;
// Field word_size = command[2:0]
reg_fld word_size : uint(bits:3) : R : 0 : cov ;
};

// Register = queue_exec
// Reset = 0x00
reg_def QUEUE_EXEC DMA_ETH 0x10 {
// Field resv = queue_exec[31:1]
reg_fld resv : uint(bits:31) : R : 0 : cov ;
// Field exec = queue_exec[0:0]
reg_fld exec : uint(bits:1) : RW : 0 : cov ;
};

extend XDMAC vr_ad_map {
dma_eth : DMA_ETH vr_ad_reg_file;

post_generate() is also {
add_with_offset(0x00, dma_eth);
dma_eth.reset();
};
}
'>

 

Any comments, please feed them back to me so I can enhance the script.
Note that this forum forces me to post a .zip file rather than .tgz, please be careful to unpack the file under Linux, not Windows, else the DOS linefeeds will corrupt the Perl and XML files.

Steve




til

IntelliGen Statistics Metrics Collection Utilility

As noted in white papers, posts on the Team Specman Blog, and the Specman documentation, IntelliGen is a totally new stimulus generator than the original "Pgen" and, as a result, there is some amount of effort needed to migrate an existing verification environment to fully leverage the power of IntelliGen.  One of the main steps in migrating code is running the linters on your code and adressing the issues highlighted. 

Included below is a simple utility you can include in your environment that allows you to collect some valuable statistics about your code base to allow you to better gauge the amount of work that might be required to migrate from Pgen to IntelliGen.  The ICFS statistics reported are of particular benefit as the utility not only identifies the approximate number of ICFSs in the environment, it also breaks the total number down according to generation contexts (structs/units and gen-on-the-fly statements) allowing you to better focus your migration efforts. 

IMPORTANT: Sometimes a given environment can trigger a large number of IntelliGen linting messages right off the bat.  Don't let this freak you out!  This does not mean that migration will be a long effort as quite often some slight changes to an environment remove a large number of identified issues.  I recently encountered a situation where a simple change to three locations in the environment, removed 500+ ICFSs!

The methods included in the utility can be used to report information on the following:
- Number of e modules
- Number of lines in the environment (including blanks and comments)
- Number and type of IntelliGen Guidelines linting messages
- Number of Inconsistently Connected Field Sets (ICFSs)
- Number of ICFS contexts and how many ICFSs per context
- Number of soft..select overlays found in the envioronment
- Number of Laces identified in the environment


To use the code below, simply load it before/after loading e-code and then
you can execute any of the following methods:

- sys.print_file_stats()             : prints # of lines and files
- sys.print_constraint_stats()   : prints # of constraints in the environment
- sys.print_guideline_stats()    : prints # of each type of linting message
- sys.print_icfs_stats()            : prints # of ICFSs, contexts and #ICFS/context
- sys.print_soft_select_stats() : prints # of soft select overlay issues
- sys.print_lace_stats()           : *Only works for SPMNv6.2s4 and later* prints # of laces identified in the environment

Each of the above calls to methods produces it's own log files (stored in the current working directory) containing relevant information for more detailed analysis.
- file_stats_log.elog : Output of "show modules" command
- constraint_log.elog : Output of the "show constraint" command
- guidelines_log.elog : Output of "gen lint -g" (with notification set to MAX_INT in order to get all warnings)
- icfs_log.elog       : Output of "gen lint -i" command
- soft_select_log.elog: Output of the "gen lint -s" command
- lace_log.elog       : Output of the "show lace" command


Happy generating!

Corey Goss




til

dnsmasq-utils 2.79-1 Denial Of Service

dnsmasq-utils version 2.79-1 dhcp_release denial of service proof of concept exploit.







til

We Asked Def Con Attendees Why People Are Still Getting Hacked





til

Mandos Encrypted File System Unattended Reboot Utility 1.8.10

The Mandos system allows computers to have encrypted root file systems and at the same time be capable of remote or unattended reboots. The computers run a small client program in the initial RAM disk environment which will communicate with a server over a network. All network communication is encrypted using TLS. The clients are identified by the server using an OpenPGP key that is unique to each client. The server sends the clients an encrypted password. The encrypted password is decrypted by the clients using the same OpenPGP key, and the password is then used to unlock the root file system.




til

Reminder: We're Still Bad At Securing Industrial Controllers




til

Denial Of Service Event Impacted U.S. Power Utility Last Month





til

Maavi Fuzzing Utility

Maavi is a fuzzing tool that scans for vulnerabilities with obfuscated payloads. Has proxy support, records full history of actions, and has various bells and whistles.




til

Mandos Encrypted File System Unattended Reboot Utility 1.8.11

The Mandos system allows computers to have encrypted root file systems and at the same time be capable of remote or unattended reboots. The computers run a small client program in the initial RAM disk environment which will communicate with a server over a network. All network communication is encrypted using TLS. The clients are identified by the server using an OpenPGP key that is unique to each client. The server sends the clients an encrypted password. The encrypted password is decrypted by the clients using the same OpenPGP key, and the password is then used to unlock the root file system.






til

MySQL G0ld Brute Forcing Utility

MySQL G0ld is a program that issues brute force attacks against a MySQL Server using a supplied wordlist.





til

fDi's Virus Diaries: “We’re still receiving new investor attention”

Philomène Dias, director of inward investment at Portuguese investment promotion agency Aicep, on how staff and organisation are working through lockdown.




til

Singapore investment in Indonesia still falling

Project numbers drop almost 40% between 2017 and 2018.




til

Integrating rooftop solar just got easier for utilities

Homeowners and businesses may now have an easier time getting solar panels on rooftops thanks to software developed at Sandia.




til

Educating today’s utilities about tomorrow’s innovations

Last week in San Antonio, Texas, about 150 DISTRIBUTECH stakeholders convened to discuss industry trends, best practices for marketing and sales in the utility industry and set the educational agenda for the 2020 event.




til

Utility partners with climate experts on new carbon emission goals

Community stakeholders and climate experts from the University of Arizona are helping Tucson Electric Power to build an energy portfolio that supports reliable, affordable and increasingly sustainable service over the next 15 years.




til

Minnesota utilities weigh energy storage as substitute for peaker plants

Gas peaker plants may be among the first casualties of a new Minnesota law requiring utilities to include energy storage as part of their long-range plans.




til

Small Missouri utility proposes big pivot to clean energy in latest resource plan

Missouri’s smallest investor-owned utility is charting a dramatically different course two years after being acquired by new owners.




til

Utility device and data management technologies revenue could exceed $22 billion by 2027edit

A new report from Navigant Research released this week says that revenue from device and data management technologies could grow from approximately $14.8 billion in 2018 to more than $22.1 billion in 2027 at a compound annual growth rate (CAGR) of 4.6%.





til

Sunverge raises $11 million for utility distributed energy resource controls

The round was led by Ecosystem Integrity Fund with participation from Equinor Energy Ventures and Evergy Ventures




til

In battle to break up utilities, Arizona steps to the front line

Of all the efforts to break up utility monopolies in the U.S., the one unfolding in Arizona may be the most important to watch.




til

What is the future of the utility?

Many of us are somewhat familiar with what an electric utility does. Our house receives electricity, and we get a bill in the mail each month for it. Here in North Carolina, that bill is likely coming from Duke Energy. In other parts of the country it may be PG&E or Dominion Power. For at least a century, these utility monopolies have built power plants, installed transmission and distribution lines, billed customers for their electricity use, and the utility made a predictable margin for their work.




til

Renewable energy takes center stage at POWERGEN ASIA and Asian Utility Week

In a region of the world where coal is still king, there is room for renewables. This was a takeaway from the Ministerial Address and Joint Opening Keynote at POWERGEN Asia and Asian Utility Week. The two annual events kicked off Tuesday, Sept. 3, in Kuala Lumpur, Malaysia.




til

Utility-linked group seeks to dismantle net metering in Michigan

Nonprofit advocacy groups linked to DTE Energy are waging a public campaign to significantly reduce the amount customers are paid for their solar power, in line with the utility’s request before Michigan regulators.




til

San Francisco mulls creating its own 100 percent renewables-focused utility from PG&E wreckage

What happens when a famously left-leaning city dives into the buttoned-down business of electric utilities? San Francisco may soon find out.




til

World’s largest utility joins EWF’s energy blockchain ecosystem

Last week, the Energy Web Foundation (EWF) announced it had officially signed more than 100 affiliates in an effort to become the world’s largest blockchain ecosystem.




til

Three ways utilities can partner with smart renewable cities to deliver on their objectives

Cities and renewable electricity have, respectively, become the habitat and energy of choice globally. The two are increasingly inseparable. Urbanization and electrification trends have turned cities and the grid into leading platforms for human activity, presenting unique opportunities for today’s utilities to partner with municipalities to achieve their smart city goals.




til

Can the US government stop utilities from attempting to kill solar in Montana?

In the years since its passage, Section 210 of the Public Utility Regulatory Policies Act (PURPA) has provided one of the few options for small producers of renewable energy to access electric generation markets controlled by monopoly utilities. The law requires a monopoly utility to purchase the output of certain small power producers known as “qualifying facilities” (QFs) at the utility’s “avoided cost”—that is, the cost the utility would incur to generate or purchase power in the absence of the purchase from the QF.




til

Vermont utility launches vision for 100 percent renewable energy by 2030

This weekend at its “Earth Day Every Day Fair,” Green Mountain Power announced an energy vision to have a 100 percent carbon free energy supply by 2025 and 100 percent renewable energy by 2030. The utility said the move is among the most aggressive carbon targets for a utility of GMP’s size in the country.




til

Iowa pork producers stall utility efforts to upend solar net metering

In their push to upend the economics of rooftop solar, Iowa’s major electric utilities are up against an opponent as politically potent as they are: the state’s pork producers.




til

Machine learning, AI aiding Sempra utilities in solar energy management on the grid

This week Sempra Energy subsidiary PXiSE Energy Solutions announced that Sempra-owned development company Infraestructura Energetica Nova (IEnova) would be using its software at the 110-MW Pima Solar facility located in Mexico to help manage the integration of renewable power to the electric grid.




til

Utility partners with climate experts on new carbon emission goals

Community stakeholders and climate experts from the University of Arizona are helping Tucson Electric Power to build an energy portfolio that supports reliable, affordable and increasingly sustainable service over the next 15 years.




til

Small Missouri utility proposes big pivot to clean energy in latest resource plan

Missouri’s smallest investor-owned utility is charting a dramatically different course two years after being acquired by new owners.




til

Sunverge raises $11 million for utility distributed energy resource controls

The round was led by Ecosystem Integrity Fund with participation from Equinor Energy Ventures and Evergy Ventures




til

In battle to break up utilities, Arizona steps to the front line

Of all the efforts to break up utility monopolies in the U.S., the one unfolding in Arizona may be the most important to watch.




til

Renewable energy takes center stage at POWERGEN ASIA and Asian Utility Week

In a region of the world where coal is still king, there is room for renewables. This was a takeaway from the Ministerial Address and Joint Opening Keynote at POWERGEN Asia and Asian Utility Week. The two annual events kicked off Tuesday, Sept. 3, in Kuala Lumpur, Malaysia.




til

A Key to the Future: Utilities’ Vital Role in Widespread Adoption of Geothermal Heat Pumps

Utilities are a natural partner for the geothermal heat pump (GHP) industry. Why? Because utilities have a broad consumer base and infrastructure, and need to both build load (sales) and levelize that demand to make the most efficient use of their electrical generation capacity throughout the year.  GHPs are a technology that fills that niche.




til

City Utility Trials Voltage Optimization in First for Western Canada

The city utility for Lethbridge, Alberta is starting a voltage optimization trial that is expected to deliver energy savings for customers while reducing overall energy usage in the city’s electricity distribution system.




til

Midwest Utility Turning to Cows, Landfills for a Gas Alternative

CenterPoint Energy Inc. wants to introduce a pilot program in Minnesota offering customers access to a renewable form of natural gas recovered from dairy farms and landfills.




til

New DERMS Partnership Helps Utilities Use Residential Batteries as Virtual Power Plants

This week Autogrid announced that it entered into a partnership with Swell Energy to provide software for managing Swell’s growing fleet of distributed energy resources (DER).




til

German Utility Secures Consumer Management of Smart Home Data

German-headquartered integrated energy company, Innogy, has selected distributed computing solutions provider, Intertrust, to help smart home consumers to securely manage data.




til

Someday Soon Your Utility Will Help You Select Your Next Car

Utilities are — and have been for a long time — seeking better ways through which they can engage with their customers. According to Jeff Hamel, director of energy and housing partnerships at Google, the Nest smart thermostat, which is part of the hardware product line that Google provides, is a good example of a simple way that utilities are partnering with their customers.