我想使用 Microsoft-Flow 基于某些触发器执行一段 python 代码。有没有办法做到这一点?
基本上我正在探索 Powerapps 和 Microsoft-Flow。我在powerapp中有数据,我可以在那里进行基本操作。但是,每当用户按下 powerapp 中的按钮并再次在 powerapp 上显示结果时,我都想执行一个 python 脚本。
我是Verilog的新手,我正在尝试使用verilog实现单精度浮点加法 - 减法.我收到一个错误,我无法纠正.谁能帮帮我吗?
模块addModule(Rs,Re,Rm,As,Ae,Am,Bs,Be,Bm);
//Declarations of ports
Rs,Re,Rm;
As,Bs;
input [7:0] Ae,Be;
input [22:0] Am,Bm;
reg [7:0] Re;
reg [22:0] Rm;
reg Rs;
//wire declarations.
wire [23:-1] C;
assign C[-1] = 0;
wire [23:1] sum;
//variable declaration.
genvar count;
always @(*)
begin
//Add two mantissas.
if ((As^Bs)==0)
begin
generate //getting error here "Syntax error near "generate"."
for(count=0;count<24;count=count+1)
begin
add add_1(.c_out(C[count]),.sum(sum[count]),.in1(tempAm[count]),.in2(tempBm[count]),.c_in(C[count-1]));
end
endgenerate //syntax error near "endgenerate"
end
else
begin
generate //Syntax error near "generate".
for(count=0;count<24;count=count+1)
begin
subtract sub_1(.c_out(C[count]),.dif(sum[count]),.in1(tempAm[count]),.in2(tempBm[count]),.c_in(C[count]));
end
endgenerate …Run Code Online (Sandbox Code Playgroud)